File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1+ # Disable new arch as it is not supported by the current version of package
2+ ENV [ 'RCT_NEW_ARCH_ENABLED' ] = '0'
3+
14def node_require ( script )
25 # Resolve script with node to allow for hoisting
36 require Pod ::Executable . execute_command ( 'node' , [ '-p' ,
Original file line number Diff line number Diff line change @@ -30,11 +30,8 @@ const usePermissions = () => {
3030 const check = async ( ) => {
3131 const toRequestPermissions =
3232 Platform . OS === 'android'
33- ? [
34- PERMISSIONS . ANDROID . ACCESS_FINE_LOCATION ,
35- PERMISSIONS . ANDROID . READ_MEDIA_IMAGES ,
36- ]
37- : [ PERMISSIONS . IOS . LOCATION_ALWAYS , PERMISSIONS . IOS . PHOTO_LIBRARY ] ;
33+ ? [ PERMISSIONS . ANDROID . ACCESS_FINE_LOCATION ]
34+ : [ PERMISSIONS . IOS . LOCATION_ALWAYS ] ;
3835
3936 try {
4037 const permissionStatuses = await requestMultiple ( toRequestPermissions ) ;
Original file line number Diff line number Diff line change 1+ # Disable new arch as it is not supported by the current version of package
2+ ENV [ 'RCT_NEW_ARCH_ENABLED' ] = '0'
3+
14def node_require ( script )
25 # Resolve script with node to allow for hoisting
36 require Pod ::Executable . execute_command ( 'node' , [ '-p' ,
Original file line number Diff line number Diff line change @@ -30,11 +30,8 @@ const usePermissions = () => {
3030 const check = async ( ) => {
3131 const toRequestPermissions =
3232 Platform . OS === 'android'
33- ? [
34- PERMISSIONS . ANDROID . ACCESS_FINE_LOCATION ,
35- PERMISSIONS . ANDROID . READ_MEDIA_IMAGES ,
36- ]
37- : [ PERMISSIONS . IOS . LOCATION_ALWAYS , PERMISSIONS . IOS . PHOTO_LIBRARY ] ;
33+ ? [ PERMISSIONS . ANDROID . ACCESS_FINE_LOCATION ]
34+ : [ PERMISSIONS . IOS . LOCATION_ALWAYS ] ;
3835
3936 try {
4037 const permissionStatuses = await requestMultiple ( toRequestPermissions ) ;
You can’t perform that action at this time.
0 commit comments