|
|
You need to add push gateway certificates, which you obtain from Google or Apple. We make use of their REST-API.
|
|
|
|
|
|
We have mounted the credentials outside of docker /opt/pushgateway/RocketChatMobilePushGateway/credentials/ so we can easily access them.
|
|
|
We have mounted the credentials outside of docker `/opt/pushgateway/RocketChatMobilePushGateway/credentials/` so we can easily access them.
|
|
|
|
|
|
## Google Firebase
|
|
|
|
... | ... | @@ -12,7 +12,7 @@ Get an Apple developer account ($ 99.- per year) and get a new push key at https |
|
|
|
|
|
Convert with `openssl pkcs8 -nocrypt -in AuthKey_YOURKEYID.p8 -out AuthKey.pem`
|
|
|
|
|
|
Set `settings.json` with teamIID (= your Apple account ID) and key (= key ID);
|
|
|
Set `settings.json` with teamID (= your Apple account ID) and key (= key ID);
|
|
|
|
|
|
```
|
|
|
{
|
... | ... | @@ -21,3 +21,5 @@ Set `settings.json` with teamIID (= your Apple account ID) and key (= key ID); |
|
|
"appId": "com.osalliance.RocketChatMobile"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
(file `cred.pem` is not used with API method) |
|
|
\ No newline at end of file |