update Podfile and Info.plist

master
Reza_ashrafi 2 years ago
parent 9a990351b2
commit ca48e31997
  1. 1
      ios/Podfile
  2. 2
      ios/danovin/Info.plist
  3. 7
      react-native.config.js

@ -18,6 +18,7 @@ target 'danovin' do
# An absolute path to your application root. # An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.." :app_path => "#{Pod::Config.instance.installation_root}/.."
) )
permissions_path = '../node_modules/react-native-permissions/ios' permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera" pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
pod 'react-native-mapbox-gl', :path => '../node_modules/@react-native-mapbox-gl/maps' pod 'react-native-mapbox-gl', :path => '../node_modules/@react-native-mapbox-gl/maps'

@ -27,11 +27,9 @@
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>Your message to user when the camera is accessed for the first time</string> <string>Your message to user when the camera is accessed for the first time</string>
<!-- Include this only if you are planning to use the camera roll -->
<key>NSPhotoLibraryUsageDescription</key> <key>NSPhotoLibraryUsageDescription</key>
<string>Your message to user when the photo library is accessed for the first time</string> <string>Your message to user when the photo library is accessed for the first time</string>
<!-- Include this only if you are planning to use the microphone for video recording -->
<key>NSMicrophoneUsageDescription</key> <key>NSMicrophoneUsageDescription</key>
<string>Your message to user when the microsphone is accessed for the first time</string> <string>Your message to user when the microsphone is accessed for the first time</string>
<true/> <true/>

@ -0,0 +1,7 @@
module.exports = {
project: {
ios: {},
android: {},
},
assets: ['./assets/fonts/'],
};
Loading…
Cancel
Save