Skip to content

Commit

Permalink
fix: update react native hotfix version (#1388)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Leach <[email protected]>
  • Loading branch information
jleach authored Jan 13, 2025
1 parent 5b9b85e commit 95041b2
Show file tree
Hide file tree
Showing 11 changed files with 420 additions and 653 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"resolutions": {
"typescript": "^5.0.4",
"tsyringe": "4.8.0",
"react-native": "0.72.5",
"react-native": "0.72.17",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.24",
"@react-navigation/core": "6.1.0",
Expand All @@ -66,4 +66,4 @@
"@hyperledger/[email protected]": "patch:@hyperledger/indy-vdr-react-native@npm%3A0.2.2#./.yarn/patches/@hyperledger-indy-vdr-react-native-npm-0.2.2-627d424b96.patch",
"@hyperledger/[email protected]": "patch:@hyperledger/indy-vdr-shared@npm%3A0.2.2#./.yarn/patches/@hyperledger-indy-vdr-shared-npm-0.2.2-b989282fc6.patch"
}
}
}
4 changes: 2 additions & 2 deletions packages/legacy/app/android/app/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ com.facebook.fresco:nativeimagetranscoder:2.5.0=debugAndroidTestCompileClasspath
com.facebook.fresco:soloader:2.5.0=debugRuntimeClasspath,debugUnitTestRuntimeClasspath,releaseRuntimeClasspath,releaseUnitTestRuntimeClasspath
com.facebook.fresco:ui-common:2.5.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
com.facebook.infer.annotation:infer-annotation:0.18.0=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
com.facebook.react:hermes-android:0.72.5=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
com.facebook.react:react-android:0.72.5=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
com.facebook.react:hermes-android:0.72.17=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
com.facebook.react:react-android:0.72.17=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
com.facebook.soloader:annotation:0.10.5=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
com.facebook.soloader:nativeloader:0.10.5=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
com.facebook.soloader:soloader:0.10.5=debugAndroidTestCompileClasspath,debugCompileClasspath,debugRuntimeClasspath,debugUnitTestCompileClasspath,debugUnitTestRuntimeClasspath,releaseCompileClasspath,releaseRuntimeClasspath,releaseUnitTestCompileClasspath,releaseUnitTestRuntimeClasspath
Expand Down
2 changes: 1 addition & 1 deletion packages/legacy/app/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {
ext {
buildToolsVersion = "33.0.2"
minSdkVersion = 23
minSdkVersion = 24
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "25.1.8937393"
Expand Down
31 changes: 24 additions & 7 deletions packages/legacy/app/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
source 'https://cdn.cocoapods.org'
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/react-native-permissions/scripts/setup'

# From RNP docs here: https://www.npmjs.com/package/react-native-permissions/v/4.0.1
def node_require(script)
# Resolve script with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
"require.resolve(
'#{script}',
{paths: [process.argv[1]]},
)", __dir__]).strip
end

node_require('react-native/scripts/react_native_pods.rb')
node_require('react-native-permissions/scripts/setup.rb')

platform :ios, min_ios_version_supported
prepare_react_native_project!

# ⬇️ uncomment wanted permissions
# uncomment wanted permissions (also from RNP docs linked above)
setup_permissions([
# 'AppTrackingTransparency',
# 'Bluetooth',
# 'Calendars',
# 'CalendarsWriteOnly',
'Camera',
'Camera',
# 'Contacts',
'FaceID',
'FaceID',
# 'LocationAccuracy',
'LocationAlways',
'LocationWhenInUse',
# 'LocationAlways',
# 'LocationWhenInUse',
# 'MediaLibrary',
# 'Microphone',
# 'Motion',
# 'Notifications',
# 'Notifications'
# 'PhotoLibrary',
# 'PhotoLibraryAddOnly',
# 'Reminders',
Expand Down Expand Up @@ -49,6 +61,11 @@ end
target 'AriesBifold' do
config = use_native_modules!

#permissions_path = '../node_modules/react-native-permissions/ios'
#pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
#pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"
# use reactNativePermissionsIOS.json for permissions instead!!!

# Flags change depending on the env values.
flags = get_default_flags()

Expand Down
Loading

0 comments on commit 95041b2

Please sign in to comment.