capacitor-community / fcm

Enable Firebase Cloud Messaging for Capacitor apps
https://capacitor.ionicframework.com/docs/
MIT License
238 stars 83 forks source link

#149 Always return renewed token in refreshToken() on android #150

Closed kashz closed 4 months ago

kashz commented 11 months ago

Changed to always return renewed token by waiting for deleteToken() to complete.

And fix missing macro for refreshToken on iOS.

resolve #149

marcjulian commented 11 months ago

I used refreshToken() on iOS and received, I guess that is because it was missing in the Plugin.m definition.

{CODE: `UNIMPLEMENTED`}

Would be great if this could be merged and a bug fix released, thanks in advanced.

jamesmudd commented 10 months ago

I would like this fix as well refreshToken() doesnt work currently on iOS

AntoscencoVladimir commented 8 months ago

I used refreshToken() on iOS and received, I guess that is because it was missing in the Plugin.m definition.

{CODE: `UNIMPLEMENTED`}

Would be great if this could be merged and a bug fix released, thanks in advanced.

@marcjulian exactly... method not defined in Plugin.m :(

gbrits commented 8 months ago

I'm also getting unimplemented so this just isn't implemented yet?

AntoscencoVladimir commented 8 months ago

I'm also getting unimplemented so this just isn't implemented yet?

In what I saw it's implemented, just method not defined