Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
syanbo authored Jul 5, 2017
1 parent d3a1108 commit a43ccb4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,21 @@ TARGETS->Build Phases-> Link Binary With Libaries中点击“+”按钮,选择
CoreMotion.framework
CoreMedia.framework
CoreTelephony.framework

TARGETS->Build Phases-> Link Binary With Libaries中点击“+”按钮,在弹出的窗口中点击“Add Other”按钮,选择

node_modules/react-native-agora/ios/RCTAgora/libs/libcrypto.a
node_modules/react-native-agora/ios/RCTAgora/libs/AgoraRtcCryptoLoader.framework
node_modules/react-native-agora/ios/RCTAgora/libs/AgoraRtcEngineKit.framework

TARGETS->Build Settings->Search Paths->Framework Search Paths添加

"$(SRCROOT)/../node_modules/react-native-agora/ios/RCTAgora/libs"

TARGETS->Build Settings->Search Paths->Library Search Paths添加

"$(SRCROOT)/../node_modules/react-native-agora/ios/RCTAgora/libs"

TARGETS->Build Settings->Enable Bitcode设置为No

TARGETS->Capabilities->Background Modes->Modes勾选Audio,AirPlay,and Picture In Picture
Expand Down Expand Up @@ -153,7 +160,7 @@ export default class Meeting extends Component {
//初始化Agora
const options = {
appid: '',
           appid: '前往Agora官网进行申请--https://www.agora.io/cn/',
channelProfile: 1,
videoProfile: 40,
clientRole: 1,
Expand Down Expand Up @@ -227,11 +234,7 @@ export default class Meeting extends Component {
}
handlerCancel = () => {
RtcEngine.leaveChannel();
const {navigator} = this.props;
navigator.pop()
};
handlerSwitchCamera = () => {
Expand Down Expand Up @@ -351,4 +354,4 @@ const styles = StyleSheet.create({
justifyContent: 'space-around'
}
});
```
```

0 comments on commit a43ccb4

Please sign in to comment.