Skip to content

Commit

Permalink
Injimob-1603- Expo camera, react native screens and SDK version updat…
Browse files Browse the repository at this point in the history
…es (#1640)

* [INJIMOB-1603]: update expo camera library and add icloud container

Signed-off-by: adityankannan-tw <[email protected]>

* [INJIMOB-1603]: update react native screens and min and compile sdk versions

Signed-off-by: adityankannan-tw <[email protected]>

* [INJIMOB-1603]: update react native screens and compile sdk version and enable minify

Signed-off-by: adityankannan-tw <[email protected]>

---------

Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>
  • Loading branch information
adityankannan-tw and Adityankannan authored Oct 8, 2024
1 parent 459e47d commit 375044c
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 29 deletions.
5 changes: 3 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def enableSeparateBuildPerCPUArchitecture = true
/**
* Set this to true to Run Proguard on Release builds to minify the Java bytecode.
*/
def enableProguardInReleaseBuilds = false
def enableProguardInBuilds = true

/**
* The preferred build flavor of JavaScriptCore (JSC)
Expand Down Expand Up @@ -183,6 +183,7 @@ android {
buildTypes {
debug {
signingConfig signingConfigs.debug
minifyEnabled enableProguardInBuilds
}
release {
lintOptions {
Expand All @@ -192,7 +193,7 @@ android {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
minifyEnabled enableProguardInBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 23
compileSdkVersion = 33
compileSdkVersion = 34
targetSdkVersion = 34
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "21.4.7075529"
Expand Down
8 changes: 6 additions & 2 deletions ios/Inji/Inji.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@
<string>Default</string>
</array>
<key>com.apple.developer.icloud-container-identifiers</key>
<array/>
<array>
<string>iCloud.io.mosip.inji.wallet.mobileid</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudDocuments</string>
<string>CloudKit</string>
</array>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array/>
<array>
<string>iCloud.io.mosip.inji.wallet.mobileid</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
</dict>
Expand Down
19 changes: 11 additions & 8 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ PODS:
- ExpoModulesCore
- ZXingObjC/OneD
- ZXingObjC/PDF417
- EXCamera (13.6.0):
- ExpoModulesCore
- EXConstants (14.4.2):
- ExpoModulesCore
- EXFaceDetector (12.4.0):
Expand All @@ -51,6 +49,10 @@ PODS:
- ExpoModulesCore
- GoogleSignIn (~> 7.0)
- React-Core
- ExpoCamera (13.9.0):
- ExpoModulesCore
- ZXingObjC/OneD
- ZXingObjC/PDF417
- ExpoCrypto (12.6.0):
- ExpoModulesCore
- ExpoKeepAwake (12.3.0):
Expand Down Expand Up @@ -564,7 +566,8 @@ PODS:
- React-Core
- RNPermissions (3.8.4):
- React-Core
- RNScreens (3.20.0):
- RNScreens (3.32.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- React-RCTImage
- RNSecureRandom (1.0.1):
Expand Down Expand Up @@ -603,7 +606,6 @@ DEPENDENCIES:
- EASClient (from `../node_modules/expo-eas-client/ios`)
- EXApplication (from `../node_modules/expo-application/ios`)
- EXBarCodeScanner (from `../node_modules/expo-barcode-scanner/ios`)
- EXCamera (from `../node_modules/expo-camera/ios`)
- EXConstants (from `../node_modules/expo-constants/ios`)
- EXFaceDetector (from `../node_modules/expo-face-detector/ios`)
- EXFileSystem (from `../node_modules/expo-file-system/ios`)
Expand All @@ -613,6 +615,7 @@ DEPENDENCIES:
- EXManifests (from `../node_modules/expo-manifests/ios`)
- Expo (from `../node_modules/expo`)
- "ExpoAdapterGoogleSignIn (from `../node_modules/@react-native-google-signin/google-signin/expo/ios`)"
- ExpoCamera (from `../node_modules/expo-camera/ios`)
- ExpoCrypto (from `../node_modules/expo-crypto/ios`)
- ExpoKeepAwake (from `../node_modules/expo-keep-awake/ios`)
- ExpoLocalAuthentication (from `../node_modules/expo-local-authentication/ios`)
Expand Down Expand Up @@ -735,8 +738,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/expo-application/ios"
EXBarCodeScanner:
:path: "../node_modules/expo-barcode-scanner/ios"
EXCamera:
:path: "../node_modules/expo-camera/ios"
EXConstants:
:path: "../node_modules/expo-constants/ios"
EXFaceDetector:
Expand All @@ -755,6 +756,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/expo"
ExpoAdapterGoogleSignIn:
:path: "../node_modules/@react-native-google-signin/google-signin/expo/ios"
ExpoCamera:
:path: "../node_modules/expo-camera/ios"
ExpoCrypto:
:path: "../node_modules/expo-crypto/ios"
ExpoKeepAwake:
Expand Down Expand Up @@ -914,7 +917,6 @@ SPEC CHECKSUMS:
EASClient: 49f8ea858204eb4844d9fb386e5fb7920aee2e30
EXApplication: 042aa2e3f05258a16962ea1a9914bf288db9c9a1
EXBarCodeScanner: 8e23fae8d267dbef9f04817833a494200f1fce35
EXCamera: 2dc2bd2828bca4e283018a0b5a84aec6639ff0b4
EXConstants: ce5bbea779da8031ac818c36bea41b10e14d04e1
EXFaceDetector: 7ea53dbcdeac3f98f409a43fe31ca22195efc900
EXFileSystem: f8b838a880254de42a5a7da20ed5ce12e2697c1b
Expand All @@ -924,6 +926,7 @@ SPEC CHECKSUMS:
EXManifests: cf66451b11b2c2f6464917528d792759f7fd6ce0
Expo: ba9abdf444dc6d2c05a82c4c1b51a2400beb6167
ExpoAdapterGoogleSignIn: 6c55782832b7fbdc2c27dac05ef00445c103b8f3
ExpoCamera: c13580cc0964c9e462f76579a0de9f468a9c6e73
ExpoCrypto: 42485127a5968dda6f67ac5f2b42d3c0af31d7db
ExpoKeepAwake: be4cbd52d9b177cde0fd66daa1913afa3161fc1d
ExpoLocalAuthentication: 32919307c66fb3661caefa07e7811a95a7539d7b
Expand Down Expand Up @@ -1011,7 +1014,7 @@ SPEC CHECKSUMS:
RNGoogleSignin: aac5c1ec73422109dec1da770247a1e410dcc620
RNLocalize: dbea38dcb344bf80ff18a1757b1becf11f70cae4
RNPermissions: f1b49dd05fa9b83993cd05a9ee115247944d8f1a
RNScreens: 218801c16a2782546d30bd2026bb625c0302d70f
RNScreens: 0bd9eec783bed1032e02a4db9976dae1664a5c7b
RNSecureRandom: 07efbdf2cd99efe13497433668e54acd7df49fef
RNShare: 0fad69ae2d71de9d1f7b9a43acf876886a6cb99c
RNSVG: 07dbd870b0dcdecc99b3a202fa37c8ca163caec2
Expand Down
30 changes: 16 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"expo": "~49.0.23",
"expo-auth-session": "^5.2.0",
"expo-barcode-scanner": "~12.3.2",
"expo-camera": "^13.6.0",
"expo-camera": "^13.9.0",
"expo-constants": "^14.4.2",
"expo-face-detector": "12.4.0",
"expo-font": "~11.1.1",
Expand Down Expand Up @@ -89,7 +89,7 @@
"react-native-restart": "^0.0.24",
"react-native-rsa-native": "^2.0.5",
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.20.0",
"react-native-screens": "~3.32.0",
"react-native-securerandom": "^1.0.1",
"react-native-shimmer-placeholder": "^2.0.9",
"react-native-spinkit": "^1.5.1",
Expand Down

0 comments on commit 375044c

Please sign in to comment.