Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

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

Open
kelaaarabic opened this issue Feb 10, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@kelaaarabic
Copy link

kelaaarabic commented Feb 10, 2021

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

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

@gardun0 gardun0 added the enhancement New feature or request label Feb 13, 2021
@gardun0
Copy link
Owner

gardun0 commented Feb 20, 2021

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
Copy link

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

Anything that requires help?

@gardun0
Copy link
Owner

gardun0 commented Mar 23, 2021

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

Greetings!

@everters
Copy link

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
Copy link

@everters Please share your native code

@Djihanegh
Copy link

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

@gardun0
Copy link
Owner

gardun0 commented Sep 30, 2021

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

@Djihanegh
Copy link

Can you tell me when exactly ?

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

No branches or pull requests

5 participants