-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configurable push gateway with
PUSH_NOTIFICATIONS_GATEWAY_URL
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Configuration for push gateway | ||
|
||
1. get the push gateway url and add the postfix | ||
``` | ||
{pushGatewayUrl}/_matrix/push/v1/notify | ||
``` | ||
Fx: `https://sygnal.domain.dev/_matrix/push/v1/notify` | ||
|
||
2. build the app with `--dart-define` and the param `PUSH_NOTIFICATIONS_GATEWAY_URL` | ||
|
||
Fx: | ||
``` | ||
flutter build apk --release --dart-define=PUSH_NOTIFICATIONS_GATEWAY_URL=https://sygnal.domain.dev/_matrix/push/v1/notify | ||
``` |
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