MCPcopy Create free account
hub / github.com/NativeScript/firebase / issue_17

Method issue_17

apps/demo/src/plugin-demos/firebase-messaging.ts:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 async issue_17() {
41 var messaging = firebase().messaging();
42 const status = await messaging.requestPermission({ ios: { alert: true } });
43 console.log('status', status);
44 console.log('status', status === AuthorizationStatus.AUTHORIZED)
45 }
46}

Callers 1

constructorMethod · 0.95

Calls 4

firebaseFunction · 0.90
messagingMethod · 0.80
requestPermissionMethod · 0.65
logMethod · 0.65

Tested by

no test coverage detected