邓博 il y a 7 ans
Parent
révision
ba9526dfb9
2 fichiers modifiés avec 61 ajouts et 0 suppressions
  1. 53
    0
      .gitignore
  2. 8
    0
      index.js

+ 53
- 0
.gitignore Voir le fichier

@@ -0,0 +1,53 @@
1
+# OSX
2
+#
3
+.DS_Store
4
+
5
+# Xcode
6
+#
7
+build/
8
+*.pbxuser
9
+!default.pbxuser
10
+*.mode1v3
11
+!default.mode1v3
12
+*.mode2v3
13
+!default.mode2v3
14
+*.perspectivev3
15
+!default.perspectivev3
16
+xcuserdata
17
+*.xccheckout
18
+*.moved-aside
19
+DerivedData
20
+*.hmap
21
+*.ipa
22
+*.xcuserstate
23
+project.xcworkspace
24
+
25
+# Android/IntelliJ
26
+#
27
+build/
28
+.idea
29
+.gradle
30
+local.properties
31
+*.iml
32
+
33
+# node.js
34
+#
35
+node_modules/
36
+npm-debug.log
37
+yarn-error.log
38
+
39
+# BUCK
40
+buck-out/
41
+\.buckd/
42
+*.keystore
43
+
44
+# fastlane
45
+#
46
+# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47
+# screenshots whenever they are needed.
48
+# For more information about the recommended setup visit:
49
+# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
50
+
51
+fastlane/report.xml
52
+fastlane/Preview.html
53
+fastlane/screenshots

+ 8
- 0
index.js Voir le fichier

@@ -0,0 +1,8 @@
1
+import {
2
+    NativeModules,
3
+    findNodeHandle
4
+} from 'react-native';
5
+
6
+const { Agora } = NativeModules
7
+
8
+export const loadAgoraKit = (options) => Agora.loadAgoraKit(options)