Commit a092fc595b06e2792b2a77b0f0078b9a9d5ad334

Authored by cuong
1 parent f19406e47d

Revert "Revert "add checkOverlayPermission""

This reverts commit f19406e47dcaeb2faea2bb49d6d965805e1d71bd.

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>;