Changes
Page history
Update push keys
authored
Jul 30, 2020
by
Roland Alton
Show whitespace changes
Inline
Side-by-side
push-keys.md
View page @
ebadb0d3
You need to add push gateway certificates, which you obtain from Google or Apple. We make use of their REST-API.
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
## Google Firebase
...
@@ -12,7 +12,7 @@ Get an Apple developer account ($ 99.- per year) and get a new push key at https
...
@@ -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`
Convert with
`openssl pkcs8 -nocrypt -in AuthKey_YOURKEYID.p8 -out AuthKey.pem`
Set
`settings.json`
with teamI
I
D (= 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);
...
@@ -21,3 +21,5 @@ Set `settings.json` with teamIID (= your Apple account ID) and key (= key ID);
"appId": "com.osalliance.RocketChatMobile"
"appId": "com.osalliance.RocketChatMobile"
}
}
```
```
(file
`cred.pem`
is not used with API method)
\ No newline at end of file