-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add manifest params for Foreground notification customization (#23)
- Loading branch information
1 parent
43a3990
commit 91533ae
Showing
8 changed files
with
162 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Plugin configuration parameters | ||
|
||
You can provide these params to the plugin in `app.json` to configure the plugin like this: | ||
|
||
```json | ||
{ | ||
"plugins": [ | ||
[ | ||
"hypertrack-sdk-expo", | ||
{ | ||
<param>: <value> | ||
} | ||
] | ||
], | ||
} | ||
``` | ||
|
||
## Parameters | ||
|
||
Check [SDK configuration](https://hypertrack.com/docs/sdk-config) doc for more detailed informtion about the params. | ||
|
||
| Param | Type | Description | | ||
| --------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| allowMockLocation | `boolean` | Allow mocking locations (if set to false any mocked location will be filtered and the outage will be displayed in the Dashboard). Default: false | | ||
| foregroundNotificationText | `string` | Text for the foreground service notification on Android | | ||
| foregroundNotificationTitle | `string` | Title for the foreground service notification on Android | | ||
| locationPermission | `string` | Location permission permission purpose string (see [Configuring permission purpose strings](README.md#configuring-permission-purpose-strings)) | | ||
| motionPermission | `string` | Motion permission purpose string (see [Configuring permission purpose strings](README.md#configuring-permission-purpose-strings)) | | ||
| publishableKey | `string` | HyperTrack publishable key | | ||
| proxyDevicePushTokenCall | `boolean` | Proxy device push token call to the plugin. See [Working around missing device push token on iOS](README.md#working-around-missing-device-push-token-on-ios). False by default. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters