UNPKG

react-native-permissions

Version:

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

32 lines (31 loc) 1.11 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PERMISSIONS = void 0; const IOS = Object.freeze({ APP_TRACKING_TRANSPARENCY: 'ios.permission.APP_TRACKING_TRANSPARENCY', BLUETOOTH_PERIPHERAL: 'ios.permission.BLUETOOTH_PERIPHERAL', CALENDARS: 'ios.permission.CALENDARS', 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' }); const PERMISSIONS = Object.freeze({ ANDROID: {}, IOS, WINDOWS: {} }); exports.PERMISSIONS = PERMISSIONS; //# sourceMappingURL=permissions.ios.js.map