Removed v24 changes

This commit is contained in:
Reid Weber
2018-03-29 12:34:16 -07:00
parent 6095ef105d
commit 95cb5756a1
2 changed files with 1 additions and 3 deletions

View File

@@ -528,7 +528,6 @@ Permissions.CONTACTS === 'contacts';
Permissions.NOTIFICATIONS === 'remoteNotifications';
Permissions.REMOTE_NOTIFICATIONS === 'remoteNotifications';
Permissions.SYSTEM_BRIGHTNESS === 'systemBrightness';
Permissions.CALENDAR === 'calendar';
async () => {
const result = await Permissions.askAsync(Permissions.CAMERA);

View File

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