capacitor-community / fcm

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

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

Closed kashz closed 8 months ago

kashz commented 1 year 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 1 year 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 1 year ago

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

AntoscencoVladimir commented 1 year 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 1 year ago

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

AntoscencoVladimir commented 1 year ago

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

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