Browse Source

add index

邓博 7 years ago
parent
commit
69a5d21eef
2 changed files with 61 additions and 0 deletions
  1. 53
    0
      .gitignore
  2. 8
    0
      index.js

+ 53
- 0
.gitignore View File

@@ -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 View File

@@ -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)