feat: complete IM P0 and P1 reliability work
This commit is contained in:
@@ -17,6 +17,13 @@ This adapter requires you to obtain your own credentials from Goole Firebase. If
|
||||
Remove the other entry. I.e. if you have updated `"credentials_file"`, remove `"credentials"` and vice versa.
|
||||
4. Update [TinodeWeb](/tinode/webapp/) config [`firebase-init.js`](https://github.com/tinode/webapp/blob/master/firebase-init.js): update `apiKey`, `messagingSenderId`, `projectId`, `appId`, `messagingVapidKey`. See more info at https://github.com/tinode/webapp/#push_notifications
|
||||
|
||||
The server may also enable FCM without storing credentials in `tinode.conf`:
|
||||
|
||||
* `IM_FCM_CREDENTIALS_FILE` points to the service-account JSON file.
|
||||
* `IM_FCM_CREDENTIALS_JSON` contains the service-account JSON directly.
|
||||
|
||||
Either variable enables the adapter even when the checked-in configuration has `enabled: false`.
|
||||
|
||||
### iOS and Android
|
||||
|
||||
1. If you are using an Android client, add `google-services.json` to [Tindroid](/tinode/tindroid/) by following instructions at https://developers.google.com/android/guides/google-services-plugin and recompile the client. You may also optionally submit it to Google Play Store.
|
||||
|
||||
Reference in New Issue
Block a user