Skip to content

Commit

Permalink
Release sdk-v1.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
botnerd committed Jul 15, 2020
1 parent 7229095 commit 943fe39
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 6 deletions.
Binary file modified aar/api-release.aar
Binary file not shown.
Binary file modified aar/sdk-latest-release.aar
Binary file not shown.
12 changes: 12 additions & 0 deletions doc/data_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,18 @@ class PickupWindow {
}
```

### Pickup Type

Pickup type is a string that can be provided while claiming or creating an order. Current accepted values are

| Value | Description |
|-------------|-------------------------------------------------------------------------|
| `curbside` | Order to be carried out the customer curbside |
| `pickup` | Order will be picked up by the customer |
| `delivery` | Reserved for delivery service providers |



## Errors

If there is an error for any SDK method, the callback will return a `SdkError` object.
Expand Down
24 changes: 18 additions & 6 deletions doc/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,21 @@ To override the default values, set the following strings in the app's string re
<string name="notif_flybuy_order_in_progress_content">We\'ll let the merchant know when you arrive.</string>
```

The service icon and push notification icon can also be updated from the default FlyBuy icon by overriding these two files respectively:

```
@drawable/ic_stat_location_service
@drawable/ic_stat_default
```
The service icon and push notification icon can also be updated from the default FlyBuy icon by overriding two drawables. Use File->New->Image Asset and select Notification Icons from the dropdown to override `ic_stat_default` (for push notifications) and `ic_stat_location_service` (for service notification). The `res` file structure will look like this:

- res
- drawable-anydpi-v24
- ic_stat_default.xml
- ic_stat_location_service.xml
- drawable-mdpi
- ic_stat_default.png
- ic_stat_location_service.png
- drawable-hdpi
- ic_stat_default.png
- ic_stat_location_service.png
- drawable-xhdpi
- ic_stat_default.png
- ic_stat_location_service.png
- drawable-xxhdpi
- ic_stat_default.png
- ic_stat_location_service.png

0 comments on commit 943fe39

Please sign in to comment.