Skip to content

Commit

Permalink
Version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI User committed May 16, 2019
1 parent c6a85bb commit 1b90621
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion doc/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,19 @@ The SDK should also be updated with the push token when the app starts. The foll
})
}
```
```

## Setting the Service Notification Title and Content

When there is an open order, the FlyBuy SDK runs a foreground service that sends location updates to the API. Foreground services on Android require a notification while it is running. The default title and content of this notification is:

**Title**: FlyBuy Order in Progress

**Content**: We'll let the merchant know when you arrive.

To override the default values, set the following strings in the app's string resources.

```
<string name="notif_flybuy_order_in_progress_title">FlyBuy Order in Progress</string>
<string name="notif_flybuy_order_in_progress_content">We\'ll let the merchant know when you arrive.</string>
```

0 comments on commit 1b90621

Please sign in to comment.