From ca48e319978312806fc2465d4f324cba2c000238 Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Wed, 8 Jun 2022 16:23:27 +0430 Subject: [PATCH] update Podfile and Info.plist --- ios/Podfile | 1 + ios/danovin/Info.plist | 2 -- react-native.config.js | 7 +++++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 react-native.config.js diff --git a/ios/Podfile b/ios/Podfile index 327e586..f180c8e 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -18,6 +18,7 @@ target 'danovin' do # An absolute path to your application root. :app_path => "#{Pod::Config.instance.installation_root}/.." ) + permissions_path = '../node_modules/react-native-permissions/ios' pod 'Permission-Camera', :path => "#{permissions_path}/Camera" pod 'react-native-mapbox-gl', :path => '../node_modules/@react-native-mapbox-gl/maps' diff --git a/ios/danovin/Info.plist b/ios/danovin/Info.plist index 639175b..1f47f3b 100644 --- a/ios/danovin/Info.plist +++ b/ios/danovin/Info.plist @@ -27,11 +27,9 @@ NSCameraUsageDescription Your message to user when the camera is accessed for the first time - NSPhotoLibraryUsageDescription Your message to user when the photo library is accessed for the first time - NSMicrophoneUsageDescription Your message to user when the microsphone is accessed for the first time diff --git a/react-native.config.js b/react-native.config.js new file mode 100644 index 0000000..d493c3e --- /dev/null +++ b/react-native.config.js @@ -0,0 +1,7 @@ +module.exports = { + project: { + ios: {}, + android: {}, + }, + assets: ['./assets/fonts/'], +};