Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Update lock files to fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
mironiasty committed May 16, 2024
1 parent 5990535 commit e5fc707
Show file tree
Hide file tree
Showing 7 changed files with 2,794 additions and 2,466 deletions.
26 changes: 4 additions & 22 deletions .github/actions/cache_apk_file/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,8 @@ runs:
path: ${{ env.ANDROID_APP_PATH }}
key: |
APK-${{ hashFiles(
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/assets/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/components/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/contexts/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/hooks/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/navigators/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/providers/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/screens/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/types/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/utils/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/App.tsx',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/yarn.lock',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/yarn.lock',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/app/src/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/app/build.gradle',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/app/debug.keystore',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/app/proguard-rules.pro',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/gradle/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/build.gradle',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/gradle.properties',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/gradlew',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/gradle.bat',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/android/settings.gradle'
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/android/**/*/components/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/src/**/*',
'/home/runner/work/react-native-client-sdk/react-native-client-sdk/yarn.lock'
) }}
Original file line number Diff line number Diff line change
Expand Up @@ -284,17 +284,5 @@ class MembraneWebRTCModule : Module() {
AsyncFunction("getStatistics") { ->
membraneWebRTC.getStatistics()
}

OnActivityResult { _, result ->
membraneWebRTC.onActivityResult(result.requestCode, result.resultCode, result.data)
}

OnDestroy {
membraneWebRTC.onDestroy()
}

OnActivityDestroys {
membraneWebRTC.disconnect()
}
}
}
2 changes: 1 addition & 1 deletion example/components/QRCodeScanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function QRCodeScanner({onCodeScanned}: Props) {
<CameraView
onBarcodeScanned={onBarCodeScanned}
barcodeScannerSettings={{
barCodeTypes: ['qr', 'pdf417'],
barcodeTypes: ['qr', 'pdf417'],
}}
style={StyleSheet.absoluteFillObject}
/>
Expand Down
8 changes: 4 additions & 4 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"@react-navigation/bottom-tabs": "^6.5.20",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
"expo": "^50.0.6",
"expo-camera": "14.0.4",
"expo-device": "~5.9.3",
"expo-font": "~11.10.2",
"expo": "^50.0.17",
"expo-camera": "^14.0.4",
"expo-device": "^5.9.3",
"expo-font": "^11.10.2",
"react": "18.2.0",
"react-native": "0.73.4",
"react-native-gesture-handler": "~2.16.0",
Expand Down
Loading

0 comments on commit e5fc707

Please sign in to comment.