Documentation
¶
Overview ¶
Package localnotifications shows reminders the app schedules on the phone itself, with no server. For messages from a server, use push.
nimbus native plugin add local-notifications
ok, err := localnotifications.Request(ctx)
localnotifications.Schedule(ctx, localnotifications.Notification{
ID: "table-7", Title: "Table 7 is waiting", Body: "Order's ready", After: 10 * time.Minute})
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.