diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 883db5e..f7ddaeb 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,24 +1,9 @@ - - - - - - - - - - - - - - - - - - + + + diff --git a/android/app/src/main/java/fr/amicaleinsat/application/generated/BasePackageList.java b/android/app/src/main/java/fr/amicaleinsat/application/generated/BasePackageList.java index e9b026a..214de2f 100644 --- a/android/app/src/main/java/fr/amicaleinsat/application/generated/BasePackageList.java +++ b/android/app/src/main/java/fr/amicaleinsat/application/generated/BasePackageList.java @@ -18,7 +18,6 @@ public class BasePackageList { new expo.modules.lineargradient.LinearGradientPackage(), new expo.modules.location.LocationPackage(), new expo.modules.permissions.PermissionsPackage(), - new expo.modules.securestore.SecureStorePackage(), new expo.modules.sqlite.SQLitePackage(), new expo.modules.webbrowser.WebBrowserPackage() ); diff --git a/ios/Campus/Info.plist b/ios/Campus/Info.plist index aead101..153e4fe 100644 --- a/ios/Campus/Info.plist +++ b/ios/Campus/Info.plist @@ -52,28 +52,8 @@ - NSCalendarsUsageDescription - Allow Campus to access your calendar NSCameraUsageDescription Allow Campus to use the camera - NSContactsUsageDescription - Allow Campus experiences to access your contacts - NSLocationAlwaysAndWhenInUseUsageDescription - Allow Campus to use your location - NSLocationAlwaysUsageDescription - Allow Campus to use your location - NSLocationWhenInUseUsageDescription - Allow Campus to use your location - NSMicrophoneUsageDescription - Allow Campus to access your microphone - NSMotionUsageDescription - Allow Campus to access your device's accelerometer - NSPhotoLibraryAddUsageDescription - Give Campus periences permission to save photos - NSPhotoLibraryUsageDescription - Give Campus periences permission to access your photos - NSRemindersUsageDescription - Allow Campus to access your reminders UILaunchStoryboardName LaunchScreen UIRequiredDeviceCapabilities diff --git a/ios/Podfile b/ios/Podfile index 2600a9c..1f333ce 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -44,4 +44,10 @@ target 'Campus' do # react-native-cli autolinking use_native_modules! + # Permissions + permissions_path = '../node_modules/react-native-permissions/ios' + + pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec" + pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec" + end