Syan 6 years ago
parent
commit
eb0b5e172f
3 changed files with 35 additions and 8 deletions
  1. 21
    0
      LICENSE
  2. 13
    7
      README.md
  3. 1
    1
      package.json

+ 21
- 0
LICENSE View File

1
+MIT License
2
+
3
+Copyright (c) 2018 syanbo
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 13
- 7
README.md View File

1
 ##### 有任何问题欢迎加入QQ群进行反馈  471757030
1
 ##### 有任何问题欢迎加入QQ群进行反馈  471757030
2
 
2
 
3
-## [下载App体验](https://www.pgyer.com/jianLive)
4
-
5
 # react-native-agora
3
 # react-native-agora
6
 
4
 
5
+[![npm](https://img.shields.io/npm/v/react-native-agora.svg)](https://www.npmjs.com/package/react-native-agora)
6
+[![npm](https://img.shields.io/npm/dm/react-native-agora.svg)](https://www.npmjs.com/package/react-native-agora)
7
+[![npm](https://img.shields.io/npm/dt/react-native-agora.svg)](https://www.npmjs.com/package/react-native-agora)
8
+[![npm](https://img.shields.io/npm/l/react-native-agora.svg)](https://github.com/syanbo/react-native-agora/blob/master/LICENSE)
9
+
7
 ## 功能介绍
10
 ## 功能介绍
8
 
11
 
9
 - 支持 iOS Android  声网Agora视频通讯SDK
12
 - 支持 iOS Android  声网Agora视频通讯SDK
35
     CoreMotion.framework
38
     CoreMotion.framework
36
     CoreMedia.framework
39
     CoreMedia.framework
37
     CoreTelephony.framework
40
     CoreTelephony.framework
38
-    
41
+
39
 TARGETS->Build Phases-> Link Binary With Libaries中点击“+”按钮,在弹出的窗口中点击“Add Other”按钮,选择
42
 TARGETS->Build Phases-> Link Binary With Libaries中点击“+”按钮,在弹出的窗口中点击“Add Other”按钮,选择
40
 
43
 
41
     node_modules/react-native-agora/ios/RCTAgora/libs/libcrypto.a
44
     node_modules/react-native-agora/ios/RCTAgora/libs/libcrypto.a
42
     node_modules/react-native-agora/ios/RCTAgora/libs/AgoraRtcCryptoLoader.framework
45
     node_modules/react-native-agora/ios/RCTAgora/libs/AgoraRtcCryptoLoader.framework
43
     node_modules/react-native-agora/ios/RCTAgora/libs/AgoraRtcEngineKit.framework
46
     node_modules/react-native-agora/ios/RCTAgora/libs/AgoraRtcEngineKit.framework
44
-    
47
+
45
 TARGETS->Build Settings->Search Paths->Framework Search Paths添加
48
 TARGETS->Build Settings->Search Paths->Framework Search Paths添加
46
 
49
 
47
     "$(SRCROOT)/../node_modules/react-native-agora/ios/RCTAgora/libs"
50
     "$(SRCROOT)/../node_modules/react-native-agora/ios/RCTAgora/libs"
48
-    
51
+
49
 TARGETS->Build Settings->Search Paths->Library Search Paths添加
52
 TARGETS->Build Settings->Search Paths->Library Search Paths添加
50
 
53
 
51
     "$(SRCROOT)/../node_modules/react-native-agora/ios/RCTAgora/libs"
54
     "$(SRCROOT)/../node_modules/react-native-agora/ios/RCTAgora/libs"
52
-    
55
+
53
 TARGETS->Build Settings->Enable Bitcode设置为No
56
 TARGETS->Build Settings->Enable Bitcode设置为No
54
 
57
 
55
 TARGETS->Capabilities->Background Modes->Modes勾选Audio,AirPlay,and Picture In Picture
58
 TARGETS->Capabilities->Background Modes->Modes勾选Audio,AirPlay,and Picture In Picture
154
 
157
 
155
 ## 运行示例
158
 ## 运行示例
156
 
159
 
157
-- 更新示例 React-Native为0.51 
160
+- 更新示例 React-Native为0.51
158
 - 优化代码
161
 - 优化代码
159
 
162
 
160
 [Example](https://github.com/DBshaoYan/RNAgoraExample)
163
 [Example](https://github.com/DBshaoYan/RNAgoraExample)
161
 
164
 
162
 
165
 
163
 ## 更新信息
166
 ## 更新信息
167
+#### 1.1.2
168
+- 增加onVideoMute
169
+- 新增onAudioMute回调
164
 
170
 
165
 #### 1.1.1
171
 #### 1.1.1
166
 
172
 

+ 1
- 1
package.json View File

22
     "react-native-video"
22
     "react-native-video"
23
   ],
23
   ],
24
   "author": "",
24
   "author": "",
25
-  "license": "ISC",
25
+  "license": "MIT",
26
   "bugs": {
26
   "bugs": {
27
     "url": "https://github.com/DBshaoYan/react-native-agora/issues"
27
     "url": "https://github.com/DBshaoYan/react-native-agora/issues"
28
   },
28
   },