From 4e3d291500778bad76d020a8322db6913de4d588 Mon Sep 17 00:00:00 2001 From: Bartosz Dotryw Date: Fri, 21 Dec 2018 11:29:55 +0100 Subject: [PATCH] [expo] Add SMS Permissions --- types/expo/index.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/types/expo/index.d.ts b/types/expo/index.d.ts index e89bcba394..ee300d855d 100644 --- a/types/expo/index.d.ts +++ b/types/expo/index.d.ts @@ -1905,7 +1905,7 @@ export namespace Pedometer { export namespace Permissions { type PermissionType = 'audioRecording' | 'calendar' | 'cameraRoll' | 'camera' | 'contacts' | 'location' | 'reminders' | - 'notifications' | 'systemBrightness' | 'userFacingNotifications'; + 'notifications' | 'systemBrightness' | 'userFacingNotifications' | 'SMS'; type PermissionStatus = 'undetermined' | 'granted' | 'denied'; type PermissionExpires = 'never'; @@ -1944,7 +1944,11 @@ export namespace Permissions { const NOTIFICATIONS: 'notifications'; const REMINDERS: 'reminders'; const SYSTEM_BRIGHTNESS: 'systemBrightness'; - const USER_FACING_NOTIFICATIONS = 'userFacingNotifications'; + const USER_FACING_NOTIFICATIONS: 'userFacingNotifications'; + /** + * Will be removed in SDK 32 + */ + const SMS: 'SMS'; } /**