forked from vergnet/application-amicale
Updated permissions
This commit is contained in:
parent
9980e78918
commit
987bbf9113
4 changed files with 9 additions and 39 deletions
|
@ -1,24 +1,9 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="fr.amicaleinsat.application">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="fr.amicaleinsat.application">
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
||||||
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS"/>
|
|
||||||
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE"/>
|
|
||||||
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
|
||||||
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
|
|
||||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
||||||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
|
||||||
<uses-permission android:name="android.permission.CAMERA" />
|
<uses-permission android:name="android.permission.CAMERA" />
|
||||||
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
||||||
<uses-permission android:name="android.permission.READ_CALENDAR"/>
|
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE"/>
|
||||||
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
|
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
||||||
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
||||||
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
||||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
||||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
||||||
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme">
|
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme">
|
||||||
<meta-data android:name="com.facebook.sdk.AutoInitEnabled" android:value="false"/>
|
<meta-data android:name="com.facebook.sdk.AutoInitEnabled" android:value="false"/>
|
||||||
|
|
|
@ -18,7 +18,6 @@ public class BasePackageList {
|
||||||
new expo.modules.lineargradient.LinearGradientPackage(),
|
new expo.modules.lineargradient.LinearGradientPackage(),
|
||||||
new expo.modules.location.LocationPackage(),
|
new expo.modules.location.LocationPackage(),
|
||||||
new expo.modules.permissions.PermissionsPackage(),
|
new expo.modules.permissions.PermissionsPackage(),
|
||||||
new expo.modules.securestore.SecureStorePackage(),
|
|
||||||
new expo.modules.sqlite.SQLitePackage(),
|
new expo.modules.sqlite.SQLitePackage(),
|
||||||
new expo.modules.webbrowser.WebBrowserPackage()
|
new expo.modules.webbrowser.WebBrowserPackage()
|
||||||
);
|
);
|
||||||
|
|
|
@ -52,28 +52,8 @@
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
<key>NSCalendarsUsageDescription</key>
|
|
||||||
<string>Allow Campus to access your calendar</string>
|
|
||||||
<key>NSCameraUsageDescription</key>
|
<key>NSCameraUsageDescription</key>
|
||||||
<string>Allow Campus to use the camera</string>
|
<string>Allow Campus to use the camera</string>
|
||||||
<key>NSContactsUsageDescription</key>
|
|
||||||
<string>Allow Campus experiences to access your contacts</string>
|
|
||||||
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
|
|
||||||
<string>Allow Campus to use your location</string>
|
|
||||||
<key>NSLocationAlwaysUsageDescription</key>
|
|
||||||
<string>Allow Campus to use your location</string>
|
|
||||||
<key>NSLocationWhenInUseUsageDescription</key>
|
|
||||||
<string>Allow Campus to use your location</string>
|
|
||||||
<key>NSMicrophoneUsageDescription</key>
|
|
||||||
<string>Allow Campus to access your microphone</string>
|
|
||||||
<key>NSMotionUsageDescription</key>
|
|
||||||
<string>Allow Campus to access your device's accelerometer</string>
|
|
||||||
<key>NSPhotoLibraryAddUsageDescription</key>
|
|
||||||
<string>Give Campus periences permission to save photos</string>
|
|
||||||
<key>NSPhotoLibraryUsageDescription</key>
|
|
||||||
<string>Give Campus periences permission to access your photos</string>
|
|
||||||
<key>NSRemindersUsageDescription</key>
|
|
||||||
<string>Allow Campus to access your reminders</string>
|
|
||||||
<key>UILaunchStoryboardName</key>
|
<key>UILaunchStoryboardName</key>
|
||||||
<string>LaunchScreen</string>
|
<string>LaunchScreen</string>
|
||||||
<key>UIRequiredDeviceCapabilities</key>
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
|
|
|
@ -44,4 +44,10 @@ target 'Campus' do
|
||||||
# react-native-cli autolinking
|
# react-native-cli autolinking
|
||||||
use_native_modules!
|
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
|
end
|
||||||
|
|
Loading…
Reference in a new issue