Comments (4)
Meaning, the push notifications are not received until I explicitly run the app once.
Do you mean once ever? Or do you need to run the app once each time the device is restarted?
But I believe similar issue may exist on iOS also.
Why do you believe this?
from plugin.firebase.
I use push notifications to initiate syncing of notes data with the server. And I have widgets also on Android home screen.
After reboot, I want the the above functionality to work without having to run the app. But this doesn't work with Plugin.Firebase.
Why do you believe this?
Because it seems to be initialization issue due to which CrossFirebaseCloudMessaging.Current may be null inside the intent service (MESSAGING_EVENT). That's why it may not be able to trigger the events although the intent service may be receiving the calls.
In order to make it work, I have explicitly write my own intent service (MESSAGING_EVENT) and do the work (syncing notes data) like I did before in Xamarin.Forms.
from plugin.firebase.
Because it seems to be initialization issue due to which CrossFirebaseCloudMessaging.Current may be null inside the intent service (MESSAGING_EVENT).
Are you getting specific error messages around this? Why do you think this is the problem?
from plugin.firebase.
Are you getting specific error messages around this? Why do you think this is the problem?
About error messages, I am not able to check easily because after a reboot, the device is disconnected from the debugger. Once I launch the app after the reboot, the push notifications work. I saw the plugin code and it is using CrossFirebaseCloudMessaging.Current object to trigger the events from the intent service (MESSAGING_EVENT).
from plugin.firebase.
Related Issues (20)
- Firestore, issue when reading an Integer Dictionary field HOT 1
- Plugin not building with Visual Studio 17.10.4 HOT 5
- Show an image on iOS notifications HOT 2
- Error : clang++ exited with code 1 on Maui .Net8 HOT 1
- null
- Persistent Invalid Cloud Messaging Token Returned on iOS HOT 4
- Build Process Hanging at File Extraction GAppM-10.24.0.tgz HOT 2
- Crash when use different plist file
- Enable smartphone vibrate on Android on fcm retrieval
- FCM update 2.0.4 -> 3.0.0
- Error loading partial Info.plist template file on version 3.0.0
- Plugin.Firebase is not available in .net8-ios HOT 1
- Firebase.Crashlytics: Java.Lang.IllegalStateException + System.Reflection.TargetInvocationException HOT 1
- Enabling and Disabling Firebase Performance Monitoring
- CloudMessaging Android notification sound HOT 1
- Exception - Couldn't retrieve FCM token HOT 2
- Token generated on iOS is similar to Android token. Cannot received push notification. HOT 3
- [Installation Issue]: Firebase.Analytics, Privacy Policy not found in .NET 8.0 Maui Project HOT 5
- FCrshlytcs-10.24.0/upload-symbols.sh should use GoogleService-Info.plist from final package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin.firebase.