Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Aug 29, 2024
1 parent 316b537 commit d497944
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
api 'io.agora.rtc:agora-full-preview:4.3.2.2-pip.4'
implementation 'io.agora.rtc:full-screen-sharing-special:4.3.2.2-pip.4'
implementation 'io.agora.rtc:iris-rtc:4.3.2.2-pip.4'
api 'io.agora.rtc:agora-full-preview:4.3.2.2-pip.5'
implementation 'io.agora.rtc:full-screen-sharing-special:4.3.2.2-pip.5'
implementation 'io.agora.rtc:iris-rtc:4.3.2.2-pip.5'
}

if (isNewArchitectureEnabled()) {
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ target 'AgoraRtcNgExample' do
end

target 'ScreenShare' do
pod 'AgoraRtcEngine_iOS_Preview', '4.3.2.2-pip.4'
pod 'AgoraRtcEngine_iOS_Preview', '4.3.2.2-pip.5'
end
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- AgoraIrisRTC_iOS (4.3.2.2-pip.4)
- AgoraRtcEngine_iOS_Preview (4.3.2.2-pip.4)
- AgoraIrisRTC_iOS (4.3.2.2-pip.5)
- AgoraRtcEngine_iOS_Preview (4.3.2.2-pip.5)
- boost (1.76.0)
- CocoaAsyncSocket (7.6.5)
- DoubleConversion (1.1.6)
Expand Down Expand Up @@ -378,8 +378,8 @@ PODS:
- React-logger (0.72.12):
- glog
- react-native-agora (4.3.2):
- AgoraIrisRTC_iOS (= 4.3.2.2-pip.4)
- AgoraRtcEngine_iOS_Preview (= 4.3.2.2-pip.4)
- AgoraIrisRTC_iOS (= 4.3.2.2-pip.5)
- AgoraRtcEngine_iOS_Preview (= 4.3.2.2-pip.5)
- RCT-Folly (= 2021.07.22.00)
- React-Core
- react-native-agora-rawdata (0.1.0):
Expand Down Expand Up @@ -519,7 +519,7 @@ PODS:
- Yoga (~> 1.14)

DEPENDENCIES:
- AgoraRtcEngine_iOS_Preview (= 4.3.2.2-pip.4)
- AgoraRtcEngine_iOS_Preview (= 4.3.2.2-pip.5)
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,11 @@ export default class PictureInPicture
if (Platform.OS === 'android') {
this.startPip();
} else {
this.startPip();
if (pipState === PipState.PipStateStarted) {
this.stopPip();
} else {
this.startPip();
}
}
}}
/>
Expand Down
4 changes: 2 additions & 2 deletions react-native-agora.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ Pod::Spec.new do |s|
end
end

s.dependency 'AgoraRtcEngine_iOS_Preview', '4.3.2.2-pip.4'
s.dependency 'AgoraIrisRTC_iOS', '4.3.2.2-pip.4'
s.dependency 'AgoraRtcEngine_iOS_Preview', '4.3.2.2-pip.5'
s.dependency 'AgoraIrisRTC_iOS', '4.3.2.2-pip.5'
s.libraries = 'stdc++'
s.framework = 'ReplayKit'
end

0 comments on commit d497944

Please sign in to comment.