Commit f19406e47dcaeb2faea2bb49d6d965805e1d71bd

Authored by cuong
1 parent 8248c9b0ce

Revert "add checkOverlayPermission"

This reverts commit 8248c9b0ce794dbe1fac8de210459df91248f023.

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