-
Notifications
You must be signed in to change notification settings - Fork 146
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
Add Firebase Messaging API #467
Comments
No plans yet, but PRs welcome! |
How about doing just the frame? Something like: commonMain/messaging.kt
androidMain/messaging.kt
iosMain/messaging.kt
It would allow for unified access to the native libraries using this library with less implementation needed. Nowadays to use messaging at all you have to import native libraries separately alongside this library and manage their versions properly. It would be much cleaner & easier to just import messaging and use the native library in ios/androidMain this way through |
its a start would be happy to accept a PR for this but you can also just add this in your code or just call com.google.firebase.messaging.FirebaseMessaging.getInstance() / FIRMessaging.messaging() where you need it as all the client side code would need to be separated into androidMain and iosMain anyway |
@nbransby Yes you are pretty much correct, but the idea of this PR is not to bring messaging into The idea of this PR is to bring easier access to the messaging inside Because right now I can't just call
But now I have to figure out the version. For example I understand that the PR might not be entirely aligned with the vision for this library (as it does not provide ...and as I said, it really is't that much code/effort. I already submitted the PR. |
Makes total sense, will review the PR now |
First of all, thanks for your awesome work. Is it planned to develop the Firebase Messaging API?
The text was updated successfully, but these errors were encountered: