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

Support web platform #46

Open
imhoffd opened this issue Jul 1, 2020 · 6 comments
Open

Support web platform #46

imhoffd opened this issue Jul 1, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@imhoffd
Copy link

imhoffd commented Jul 1, 2020

I noticed this plugin does not support web/PWA. FCM users can just use the Firebase client for JS, but for a better cross-platform experience, we can wrap the client in the existing API of this plugin.

@CFT-Chris Maybe you could chime in? I saw your plugin seems to provide the necessary functionality. Perhaps they could be merged?

ref: ionic-team/capacitor#1892 (comment)

@imhoffd imhoffd added the enhancement New feature or request label Jul 1, 2020
@CFT-Chris
Copy link

Yes, I will gladly merge my plugin with this project. I can work on that when there is a settled method of aggregating service worker code for Capacitor plugins, and when we can put the capacitor.plugin.json and service worker files separated from the www staging directory and into its own platform/web directory.

@imhoffd
Copy link
Author

imhoffd commented Jul 6, 2020

@CFT-Chris Want to chat on the Capacitor Slack?

@CFT-Chris
Copy link

@dwieeb Sure. I joined the Slack, but couldn't find you in the search. You can find me "Chris L" with the same blue Gravatar.

@Ka-Repo
Copy link

Ka-Repo commented Jun 23, 2021

@CFT-Chris @imhoffd any update?

@akshitkrnagpal
Copy link

Are there any updates on this?

@CFT-Chris
Copy link

I won't have a chance to look into this for a while, so anyone else can feel free to start this work.

Porting my work from https://github.com/CFT-Chris/capacitor-pwa-firebase-msg is a possible starting point, though I haven't looked into v3 Capacitor and am not sure if they merge together very well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants