Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions app/android/android-passport-reader/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ dependencies {
implementation 'commons-codec:commons-codec:1.13'

//Camera
implementation "com.github.RedApparat:Fotoapparat:2.7.0"
implementation "com.github.fotoapparat:fotoapparat:2.7.0"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix source so that fotoapparat can compile successfully.

build is currently broken on jitpack:
https://jitpack.io/#RedApparat/Fotoapparat

Screenshot 2025-06-21 at 9 04 58 AM


implementation 'androidx.multidex:multidex:2.0.1'

Expand All @@ -98,5 +98,3 @@ dependencies {
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
}


4 changes: 2 additions & 2 deletions app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ android {
applicationId "com.proofofpassportapp"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 71
versionCode 72
versionName "2.5.4"
externalNativeBuild {
cmake {
Expand Down Expand Up @@ -160,7 +160,7 @@ dependencies {
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-common:19.1.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
implementation "com.github.RedApparat:Fotoapparat:2.7.0"
implementation "com.github.fotoapparat:fotoapparat:2.7.0"

implementation "androidx.concurrent:concurrent-futures:1.1.0"
implementation "com.google.guava:guava:31.1-android"
Expand Down
7 changes: 2 additions & 5 deletions app/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,19 @@ allprojects {
repositories {
google()
mavenCentral()
jcenter()
maven {
url("$rootDir/../../node_modules/react-native/android")
}
maven {
url("$rootDir/../../node_modules/jsc-android/dist")
}
maven { url 'https://jitpack.io' }
jcenter()
maven {
url 'https://google.bintray.com/google-services'
}
}
configurations.configureEach {
resolutionStrategy.dependencySubstitution {
substitute(platform(module('com.gemalto.jp2:jp2-android'))) using module('com.github.Tgo1014:JP2ForAndroid:1.0.4')
substitute module('io.fotoapparat:fotoapparat') using module('com.github.RedApparat:Fotoapparat:2.7.0')
substitute module('io.fotoapparat:fotoapparat') using module('com.github.fotoapparat:fotoapparat:2.7.0')
}
resolutionStrategy.force 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
}
Expand Down
16 changes: 14 additions & 2 deletions app/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optimize android build settings

android.defaults.buildfeatures.buildconfig=true

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
org.gradle.parallel=true

# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
Expand Down Expand Up @@ -44,3 +44,15 @@ newArchEnabled=false
hermesEnabled=true

android.jetifier.ignorelist=bcprov-jdk18on

# Additional Gradle optimizations for better build performance
org.gradle.caching=true
org.gradle.configureondemand=true

# Better dependency caching and offline support
org.gradle.dependency.verification=off
# Uncomment the next line when you want to work completely offline
# org.gradle.offline=true

# Suppress SDK version warnings for better build experience
android.suppressUnsupportedCompileSdk=35
20 changes: 10 additions & 10 deletions app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ PODS:
- Yoga
- react-native-biometrics (3.0.1):
- React-Core
- react-native-cloud-storage (2.2.2):
- react-native-cloud-storage (2.3.0):
- DoubleConversion
- glog
- RCT-Folly (= 2024.01.01.00)
Expand All @@ -1410,7 +1410,7 @@ PODS:
- React-Core
- react-native-nfc-manager (3.16.1):
- React-Core
- react-native-quick-crypto (0.7.13):
- react-native-quick-crypto (0.7.14):
- DoubleConversion
- glog
- OpenSSL-Universal
Expand Down Expand Up @@ -1680,7 +1680,7 @@ PODS:
- React-logger (= 0.75.4)
- React-perflogger (= 0.75.4)
- React-utils (= 0.75.4)
- RNCAsyncStorage (2.1.2):
- RNCAsyncStorage (2.2.0):
- React-Core
- RNCClipboard (1.13.2):
- React-Core
Expand All @@ -1694,7 +1694,7 @@ PODS:
- FirebaseCoreExtension
- React-Core
- RNFBApp
- RNGestureHandler (2.25.0):
- RNGestureHandler (2.24.0):
- DoubleConversion
- glog
- RCT-Folly (= 2024.01.01.00)
Expand Down Expand Up @@ -1808,7 +1808,7 @@ PODS:
- Yoga
- RNSVG (15.12.0):
- React-Core
- segment-analytics-react-native (2.21.0):
- segment-analytics-react-native (2.21.1):
- React-Core
- sovran-react-native
- Sentry (8.52.1):
Expand Down Expand Up @@ -2193,11 +2193,11 @@ SPEC CHECKSUMS:
React-Mapbuffer: b2642edd9be75d51ead8cda109c986665eae09cf
React-microtasksnativemodule: 7ebf131e1792a668004d2719a36da0ff8d19c43c
react-native-biometrics: 43ed5b828646a7862dbc7945556446be00798e7d
react-native-cloud-storage: 74d1f1456d714e0fca6d10c7ab6fe9a52ba203b6
react-native-cloud-storage: 47e6649373f429d2f244c904347e9fc4d9ef4ca8
react-native-get-random-values: d16467cf726c618e9c7a8c3c39c31faa2244bbba
react-native-netinfo: cec9c4e86083cb5b6aba0e0711f563e2fbbff187
react-native-nfc-manager: a280ef94cd4871a471b052f0dc70381cf1223049
react-native-quick-crypto: 2d8136faf9e82a8f396a9b5ad85203ac20212739
react-native-quick-crypto: c42da02f2832626ec0b8d8465f2f9b3889a317f6
react-native-safe-area-context: dde2052b903c11d677c320b599c3244021c34ce8
react-native-sqlite-storage: 0c84826214baaa498796c7e46a5ccc9a82e114ed
React-nativeconfig: 31072ab0146e643594f6959c7f970a04b6c9ddd0
Expand Down Expand Up @@ -2225,20 +2225,20 @@ SPEC CHECKSUMS:
React-utils: 7198bd077f07ce8f9263c05bf610da6e251058ad
ReactCodegen: fbd3d6af21ba08f12ccd0f542393393d21134ea5
ReactCommon: b02a50498cb1071cd793044ddbd5d2b5f4db0a34
RNCAsyncStorage: b9f5f78da5d16a853fe3dc22e8268d932fc45a83
RNCAsyncStorage: b44e8a4e798c3e1f56bffccd0f591f674fb9198f
RNCClipboard: 4abb037e8fe3b98a952564c9e0474f91c492df6d
RNDeviceInfo: d863506092aef7e7af3a1c350c913d867d795047
RNFBApp: 4097f75673f8b42a7cd1ba17e6ea85a94b45e4d1
RNFBMessaging: 92325b0d5619ac90ef023a23cfd16fd3b91d0a88
RNGestureHandler: ffb1f106c7a78377a2ae7568d51ccf87dc5c83c6
RNGestureHandler: 9c3877d98d4584891b69d16ebca855ac46507f4d
RNGoogleSignin: 576a84dd0407b912e7a0adf07492de9feb79e5d9
RNKeychain: 4990d9be2916c60f9ed4f8c484fcd7ced4828b86
RNLocalize: 15463c4d79c7da45230064b4adcf5e9bb984667e
RNReactNativeHapticFeedback: e19b9b2e2ecf5593de8c4ef1496e1e31ae227514
RNScreens: b7e8d29c6be98f478bc3fb4a97cc770aa9ba7509
RNSentry: c462461c0a5aaba206265f1f3db01b237cd33239
RNSVG: e3ad69848b6357587545e0a49628b1148acf082c
segment-analytics-react-native: dab2ae61d917629b8d040b572f9f7a11b2cc5940
segment-analytics-react-native: 5c3e8a4ee6d7532a011ed862d7c7d4fb5e5303e2
Sentry: 1ca8405451040482877dcd344dfa3ef80b646631
SentryPrivate: d651efb234cf385ec9a1cdd3eff94b5e78a0e0fe
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
Expand Down
4 changes: 2 additions & 2 deletions app/ios/Self.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@
CODE_SIGN_ENTITLEMENTS = OpenPassport/OpenPassportDebug.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 132;
CURRENT_PROJECT_VERSION = 133;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 5B29R5LYHQ;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -561,7 +561,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = OpenPassport/OpenPassport.entitlements;
CURRENT_PROJECT_VERSION = 132;
CURRENT_PROJECT_VERSION = 133;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 5B29R5LYHQ;
FRAMEWORK_SEARCH_PATHS = (
Expand Down
3 changes: 2 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"@stablelib/cbor": "^2.0.1",
"@tamagui/config": "1.126.14",
"@tamagui/lucide-icons": "1.126.14",
"@tamagui/toast": "^1.127.2",
"@xstate/react": "^5.0.3",
"add": "^2.0.6",
"asn1js": "^3.0.5",
Expand All @@ -93,7 +94,7 @@
"react-native-cloud-storage": "^2.2.2",
"react-native-device-info": "^14.0.4",
"react-native-dotenv": "^3.4.11",
"react-native-gesture-handler": "^2.22.1",
"react-native-gesture-handler": "2.24.0",
Copy link
Member Author

@transphorm transphorm Jun 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgrade gesture handler to be compatible with our version of react native. older version was causing ios builds to break

versions

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seshanthS for rn gesture handler, it recommends we don't go past 2.24.0 since we are on 0.75.4 rn

"react-native-get-random-values": "^1.11.0",
"react-native-haptic-feedback": "^2.3.3",
"react-native-keychain": "^10.0.0",
Expand Down
Loading
Loading