gardun0 / flutter_pusher_beams

Unofficial Pusher Beams Flutter client library supported for iOS and Android
https://pub.dev/packages/pusher_beams
MIT License
3 stars 32 forks source link

Unhandled Exception: UnimplementedError: This method is still unimplemented:await PusherBeams.setUserId(userid,token); #2

Open kelaaarabic opened 3 years ago

kelaaarabic commented 3 years ago

final token=await FirebaseMessaging().getToken(); await PusherBeams.setUserId(token,token);

how to Receive a notifications has been sent by FCM Token?

gardun0 commented 3 years ago

Pusher Beams automatically handles it as it is built on top of FCM.

The function .setUserId is specifically to set a custom user id on pusher beams (i'm working on this feature).

everters commented 3 years ago

Dear @notsofunctional, thank you for your awesome work. Any word about the implementation of .setUserId (and relative authentication)?

Anything that requires help?

gardun0 commented 3 years ago

@everters hey! i've been busy, but i expect to release that the next week.

Greetings!

everters commented 3 years ago

Your work is truly great and your efforts appreciated. thank you for you help.

I have ended up using MethodChannel for now, and wrote native code for Android and iOS. I don't know if this can be useful for you. I can certainly share if that's of any help.

I'm coding in Dart since days, not even weeks! so i think I'm too naive to be useful. But let me know!

jawadabbasi923 commented 3 years ago

@everters Please share your native code

Djihanegh commented 2 years ago

Hello, any news about this method please ? @notsofunctional @everters

gardun0 commented 2 years ago

This plugin is moving to an official project, which it'll implement this method.

Djihanegh commented 2 years ago

Can you tell me when exactly ?