You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add this so for iOS 10+ we can do some wiring (set the iOS `UNUserNotificationCenter.delegate`, to be precise).
42
44
Not needed if your app loads the plugin on startup anyway.
@@ -53,15 +55,15 @@ import * as LocalNotifications from '@nativescript/local-notifications'
53
55
LocalNotifications.hasPermission()
54
56
```
55
57
56
-
### NativeScript-Angular
57
-
58
-
This plugin is part of the [plugin showcase app](https://github.com/EddyVerbruggen/nativescript-pluginshowcase/tree/master/app/feedback) I built using Angular.
58
+
### Since plugin version 6.0.0
59
59
60
-
There's also a simple Angular [demo in this repo](https://github.com/EddyVerbruggen/nativescript-local-notifications/tree/master/demo-ng):
60
+
Both iOS and Android have to register their delegates and lifecycle callbacks respectively. Hence, if your app does not load this plugin at startup you will have to add the following to your app's `app.ts`/`main.ts` file:
61
61
62
-
### NativeScript-Vue
62
+
```typescript
63
+
import'@nativescript/local-notifications'
63
64
64
-
There is a [Vue demo](https://github.com/EddyVerbruggen/nativescript-local-notifications/tree/master/demo-vue):
65
+
// ... Bootstrap application
66
+
```
65
67
66
68
## Plugin API
67
69
@@ -100,14 +102,14 @@ You can pass several options to this function, everything is optional:
0 commit comments