Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple SenderIDs/FCM projects? #60

Open
thequailman opened this issue Jan 16, 2021 · 1 comment
Open

Multiple SenderIDs/FCM projects? #60

thequailman opened this issue Jan 16, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@thequailman
Copy link

Is your feature request related to a problem? Please describe.
Maybe? I have an app that I don't want to ship credentials with. Instead, I want the app to contact a server to discover the FCM details for SenderID etc. My app can connect to a self hosted server setup, so I want to support self hosted users using FCM. I think this is possible today using native FCM and calling getToken after GETing a senderID.

Describe the solution you'd like
I'd like to have my app be able to initialize FCM's config (senderID specifically) in JS on iOS and Android. I currently do this today for the PWA. Ideally I wouldn't have to provide the FCM credentials as a plist or JSON file, but I'm fine doing that if I can overwrite those values in JS.

Describe alternatives you've considered
I think it's fine if I can't do this, but it would be really cool if it works!!

Additional context

@stewones stewones added the help wanted Extra attention is needed label Oct 5, 2021
@KuhlTime
Copy link

KuhlTime commented Oct 7, 2022

@thequailman, have you found a solution to this problem? I am facing the same issue. I have a multi-tenant infrastructure where the correct Firebase project can only be determined at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants