UNPKG

react-native-permissions

Version:

An unified permissions API for React Native on iOS, Android and Windows

29 lines (28 loc) 1.13 kB
"use strict"; import { proxifyPermissions } from './utils'; const IOS = Object.freeze({ APP_TRACKING_TRANSPARENCY: 'ios.permission.APP_TRACKING_TRANSPARENCY', BLUETOOTH: 'ios.permission.BLUETOOTH', CALENDARS: 'ios.permission.CALENDARS', CALENDARS_WRITE_ONLY: 'ios.permission.CALENDARS_WRITE_ONLY', CAMERA: 'ios.permission.CAMERA', CONTACTS: 'ios.permission.CONTACTS', FACE_ID: 'ios.permission.FACE_ID', LOCATION_ALWAYS: 'ios.permission.LOCATION_ALWAYS', LOCATION_WHEN_IN_USE: 'ios.permission.LOCATION_WHEN_IN_USE', MEDIA_LIBRARY: 'ios.permission.MEDIA_LIBRARY', MICROPHONE: 'ios.permission.MICROPHONE', MOTION: 'ios.permission.MOTION', PHOTO_LIBRARY: 'ios.permission.PHOTO_LIBRARY', PHOTO_LIBRARY_ADD_ONLY: 'ios.permission.PHOTO_LIBRARY_ADD_ONLY', REMINDERS: 'ios.permission.REMINDERS', SIRI: 'ios.permission.SIRI', SPEECH_RECOGNITION: 'ios.permission.SPEECH_RECOGNITION', STOREKIT: 'ios.permission.STOREKIT' }); export const PERMISSIONS = Object.freeze({ ANDROID: proxifyPermissions('android'), IOS, WINDOWS: proxifyPermissions('windows') }); //# sourceMappingURL=permissions.ios.js.map