Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Make FCM support multiple senderids #1340

Closed
jrconlin opened this issue Jul 25, 2019 · 1 comment · Fixed by #1344
Closed

Make FCM support multiple senderids #1340

jrconlin opened this issue Jul 25, 2019 · 1 comment · Fixed by #1344
Assignees

Comments

@jrconlin
Copy link
Member

Clients want to use different project ids for each browser. This means that we need to support multiple FCM ids (like we do with multiple GCM ids).

@jrconlin jrconlin self-assigned this Jul 25, 2019
@jrconlin
Copy link
Member Author

This will also need credential rollover support.

jrconlin added a commit that referenced this issue Aug 3, 2019
WIP:

TODO:
    * update docs & confs
    * full integration test

Closes #1340
jrconlin added a commit that referenced this issue Aug 5, 2019
BREAKING CHANGE:
This now supports multiple registrations for FCM. See the updated docs
and sample configurations.

Obsolete configuration options:
    * fcm_auth
    * fcm_senderid
    * fcm_projectid
    * fcm_service_cred_path

New Configuration
```json
fcm_creds={"_profile_": {"projectid": "_fcm_projectid_", "auth":
"_fcm_service_cred_path_"}}
```

`v1` protocol is now the default.

for existing FCM, _profile_ == _fcm_projectid_

Closes #1340
jrconlin added a commit that referenced this issue Aug 5, 2019
BREAKING CHANGE:
This now supports multiple registrations for FCM. See the updated docs
and sample configurations.

Obsolete configuration options:
    * fcm_auth
    * fcm_senderid
    * fcm_projectid
    * fcm_service_cred_path

New Configuration
```json
fcm_creds={"_profile_": {"projectid": "_fcm_projectid_", "auth":
"_fcm_service_cred_path_"}}
```

`v1` protocol is now the default.

for existing FCM, _profile_ == _fcm_projectid_

Closes #1340
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant