Commit 8248c9b0ce794dbe1fac8de210459df91248f023

Authored by cuong
1 parent 5826404707

add checkOverlayPermission

requestOverlayPermission

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

src/module.android.ts
... ... @@ -16,7 +16,7 @@ const RNP: {
16 16 checkNotifications: () => Promise<NotificationsResponse>;
17 17 openSettings: () => Promise<true>;
18 18 checkOverlayPermission: () => Promise<boolean>;
19   - requestOverlayPermission(): Promise<PermissionStatus>;
  19 + requestOverlayPermission: () => Promise<PermissionStatus>;
20 20 getNonRequestables: () => Promise<Permission[]>;
21 21 isNonRequestable: (permission: Permission) => Promise<boolean>;
22 22 setNonRequestable: (permission: Permission) => Promise<true>;