Skip to content

Commit 5b01280

Browse files
authored
Merge pull request #13534 from LedgerHQ/IOS/LIVE-24422
2 parents b093c6b + 6a85d97 commit 5b01280

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.changeset/weak-ants-warn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"live-mobile": minor
3+
---
4+
5+
React-native-vision-camera disable location service to be compliant with Apple

apps/ledger-live-mobile/ios/Podfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties
77
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
88
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']
99

10+
# Disable location services for the app because it's not used in the app
11+
# it's used by react-native-vision-camera
12+
$VCEnableLocation = false
13+
1014
platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1'
1115
install! 'cocoapods',
1216
:deterministic_uuids => false
@@ -30,12 +34,12 @@ target 'ledgerlivemobile' do
3034
'ios'
3135
]
3236
end
33-
37+
3438
config = use_native_modules!(config_command)
3539

3640
use_frameworks! :linkage => :static
3741
$RNFirebaseAsStaticFramework = true
38-
42+
3943
use_react_native!(
4044
:path => config[:reactNativePath],
4145
# An absolute path to your application root.
@@ -89,4 +93,4 @@ target 'ledgerlivemobile' do
8993
end
9094
end
9195
end
92-
end
96+
end

apps/ledger-live-mobile/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3012,9 +3012,9 @@ SPEC CHECKSUMS:
30123012
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
30133013
sovran-react-native: a3ad3f8ff90c2002b2aa9790001a78b0b0a38594
30143014
TOCropViewController: 20a14b6a7a098308bf369e7c8d700dc983a974e6
3015-
VisionCamera: 7187b3dac1ff3071234ead959ce311875748e14f
3015+
VisionCamera: b51af005669c6642dd1b4fca434eda4c1778de87
30163016
Yoga: 2b02f3f767761bb4ffd25b1bb56fd264be57bd6b
30173017

3018-
PODFILE CHECKSUM: 1c38f9ea95309652f16182352f749be4e2501fc6
3018+
PODFILE CHECKSUM: 383b3ba2e67deedb3aaf06cab144a449c950c986
30193019

30203020
COCOAPODS: 1.14.3

0 commit comments

Comments
 (0)