starti.app 2.0.96 → 2.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,6 +21,17 @@ export declare class PushNotification extends EventTargetWithType<{
|
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
getToken(): Promise<string>;
|
|
24
|
+
/**
|
|
25
|
+
* This method checks the current access status for push notifications.
|
|
26
|
+
* @returns PermissionStatus indicating the current access status
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```typescript
|
|
30
|
+
* const { granted } = await pushNotification.checkAccess();
|
|
31
|
+
* console.log(granted);
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
checkAccess(): Promise<import("../App/typings").PermissionStatus>;
|
|
24
35
|
/**
|
|
25
36
|
* This method requests access to send push notifications to the user.
|
|
26
37
|
*
|
package/dist/integrations.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type PushNotificationIntegration = {
|
|
|
9
9
|
setBadgeCount(count: number): void;
|
|
10
10
|
initialize(): void;
|
|
11
11
|
requestAccess(): boolean;
|
|
12
|
+
checkAccess(): PermissionStatus;
|
|
12
13
|
getFCMToken(): string | undefined;
|
|
13
14
|
firebasePushNotificationTopicsUnsubscribe(topics: string[]): boolean;
|
|
14
15
|
firebasePushNotificationSubscribeToTopics(topics: string[]): boolean;
|
package/dist/lib/SemVer.d.ts
CHANGED
package/package.json
CHANGED