-
Notifications
You must be signed in to change notification settings - Fork 3
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
Hypertrack is preventing FCM notification #8
Comments
Planned solution is to forward unprocessed messages and tokens to FirebasePlugin |
I cannot see incoming message implementation in Hypertrack SDK. What can be done? |
@bikcrum You need to extend |
ProblemThere is multiple services class that extends from SolutionMethod 1Add the following to your
How it works?The priority set for Limitation:Although HyperTrack will work fine, HyperTrack uses FCM for device-server communication for optimization which won't function without FCM. However, you might not notice this. Method 2Forward incoming message in Steps:
How it works?
Limitation:No limitation, but you need to manually update the Method 3Now we will not touch any code in the library but write our own code. We will propose a solution in a safe way. You don't have to add
Important: Set priority higher than 5 (one declared in HyperTrack SDK)
How does it work?We have created Limitation:None |
Bug report
Describe the bug
I am using hypertrack_plugin (https://pub.dev/packages/hypertrack_plugin) which presumably uses FCM under the hood for its functioning. However using it alongside the firebase_messaging plugin, I am unable to get any message in callback
onMessage()
whenever the app is in the foreground. When I remove hypetrack_plugin from my project, it works fine.Steps to reproduce
Steps to reproduce the behavior:
REST API used to invoke callbacks
Expected behavior
onMessage() should be called whenever the app is in the foreground.
Additional context
Add any other context about the problem here.
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: