react-native-permissions

    android

    1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    2. package="com.myawesomeapp">
    3. <!-- 🚨 Keep only the permissions used in your app 🚨 -->
    4. <uses-permission android:name="android.permission.ACCEPT_HANDOVER" />
    5. <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
    6. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    7. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    8. <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />
    9. <uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
    10. <uses-permission android:name="android.permission.BODY_SENSORS" />
    11. <uses-permission android:name="android.permission.CALL_PHONE" />
    12. <uses-permission android:name="android.permission.CAMERA" />
    13. <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    14. <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
    15. <uses-permission android:name="android.permission.READ_CALENDAR" />
    16. <uses-permission android:name="android.permission.READ_CALL_LOG" />
    17. <uses-permission android:name="android.permission.READ_CONTACTS" />
    18. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    19. <uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
    20. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    21. <uses-permission android:name="android.permission.READ_SMS" />
    22. <uses-permission android:name="android.permission.RECEIVE_MMS" />
    23. <uses-permission android:name="android.permission.RECEIVE_SMS" />
    24. <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" />
    25. <uses-permission android:name="android.permission.RECORD_AUDIO" />
    26. <uses-permission android:name="android.permission.SEND_SMS" />
    27. <uses-permission android:name="android.permission.USE_SIP" />
    28. <uses-permission android:name="android.permission.WRITE_CALENDAR" />
    29. <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
    30. <uses-permission android:name="android.permission.WRITE_CONTACTS" />
    31. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    32. <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
    33. <!-- … -->
    34. </manifest>

    iOS

    1. target 'YourAwesomeProject' do
    2. # …
    3. permissions_path = '../node_modules/react-native-permissions/ios'
    4. pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
    5. pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
    6. pod 'Permission-Calendars', :path => "#{permissions_path}/Calendars"
    7. pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
    8. pod 'Permission-Contacts', :path => "#{permissions_path}/Contacts"
    9. pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID"
    10. pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy"
    11. pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
    12. pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
    13. pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary"
    14. pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"
    15. pod 'Permission-Motion', :path => "#{permissions_path}/Motion"
    16. pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"
    17. pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
    18. pod 'Permission-PhotoLibraryAddOnly', :path => "#{permissions_path}/PhotoLibraryAddOnly"
    19. pod 'Permission-Reminders', :path => "#{permissions_path}/Reminders"
    20. pod 'Permission-Siri', :path => "#{permissions_path}/Siri"
    21. pod 'Permission-SpeechRecognition', :path => "#{permissions_path}/SpeechRecognition"
    22. pod 'Permission-StoreKit', :path => "#{permissions_path}/StoreKit"
    23. end