Merge pull request #24615 from Reidweb1/fix/expo-permission

Added calendar to Expo Permissions
This commit is contained in:
Nathan Shively-Sanders
2018-03-29 15:13:35 -07:00
committed by GitHub

View File

@@ -1701,7 +1701,7 @@ export namespace Pedometer {
*/
export namespace Permissions {
type PermissionType = 'remoteNotifications' | 'location' |
'camera' | 'contacts' | 'audioRecording';
'camera' | 'contacts' | 'audioRecording' | 'calendar';
type PermissionStatus = 'undetermined' | 'granted' | 'denied';
type PermissionExpires = 'never';
@@ -1733,6 +1733,7 @@ export namespace Permissions {
const NOTIFICATIONS: RemoteNotificationPermission;
const CONTACTS: 'contacts';
const SYSTEM_BRIGHTNESS: 'systemBrightness';
const CALENDAR: 'calendar';
}
/**