I'm currently using ionic to develop an app with firebase push notification feature .I want the app to receive notification and store the notification data locally(without tapping notification) to be shown on the app. Thanks to Phonegap-Plugin-Push, I'm manage to receive notification and handle callback function when my app is on foreground and background. My problem is When my app is closed/ killed there's still notification pop out on notification shade but callback function is not called. After some research, i found this link can help me. Unfortunately, there's still some issue about force-start which I have post on github. While waiting for response, I would like to ask is there any alternative way to achieve this? (e.g: another plugin, another method, background service for ionic?)
Phonegap-plugin-push notification
722 Views Asked by Ekova Sam At
1
There are 1 best solutions below
Related Questions in CORDOVA
- how to get rid of the cordova screen when you open the app
- How to build a codesandbox project to android apk?
- Cordova Android run failed
- Cordova Build issue since version 12.0.0
- cordova-background-geolocation-plugin don't giving any response in cordova android app
- provider duplicate while compiling a Cordova application for the Android platform
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- gradle keeps failing. Cordova run. Vscode
- Cordova plugin splashscreen issue while Azure Devops with ant build using android-cordova application
- Ionic 3 issue while generating AAB file
- Xcode Undefined symbols, Linker command failed with exit code 1 (use -v to see invocation)
- Xcode 15.3 build failed
- Samsung screen zoom ruining my cordova built android app
- command: ionic server Killed 9
Related Questions in IONIC3
- Ionic 3 issue while generating AAB file
- ionic 5 - error ionic-orm3 Property 'filter' in type 'EntityMetadataCollection'
- Ionic storage-angular error: Can't resolve '@angular/common' in storage-angular/fesm
- Last Update for old ionic 3 App with angular 5
- Ionic angular running issue in android?
- Issue with SonarQube showing ChromeHeadless error
- Use of config.xml in ionic project with capacitor
- Ionic 3.9.5 Reactive Forms not working when virtual keyboard is displayed
- How to build AAB file for Google play from an ionic 3 project
- IONIC v3 with API 33 Android
- Ionic 3 and Android SDK 33 - Opening Camera not working
- How to set "search" icon in the navigation tab bar in Ionic?
- -Ionic Project Requesting For Notification Permission
- Ionic framework error: spawn unknown error
- ionic 3 'ion-item' is not a known element: 1. If 'ion-item' is an Angular component,
Related Questions in FIREBASE-CLOUD-MESSAGING
- When using FCM, how to let my server know that the FCM service on the device is shutdown
- Send Push Notification with Firebase from one the device to another
- Why can I receive Firebase Notifications through the console but not through the server?
- Firebase push doesnt receive after init in other process
- Background notification also get muted on removing "sound" from presentationOptions in @capacitor-firebase/messaging?
- .Net Maui Firebase Push Notifications handling of notifications when App is closed/background
- issue of retrieving fcm token?
- NonCollapse Image FCM using Java
- Send push notification to my flutter app from backend
- How to subscribe to a firebase topic from a flutter app when the app is in background/terminated state?
- Flutter: Unstoppable Notification, FCM, Flutter Local Notification
- i want to get the FCM token
- Firebase Cloud Messaging with Flask: How can I send fcm_options link with the message from flask server?
- How to update my service worker for existing web push subscribers?
- Android FCM push notification not launching the application on click
Related Questions in PHONEGAP
- Cordova android application refuses get data from remote source after downloading from playstore
- Ionic Cordova NFC is not subscribing to or capturing events
- How to convert phoneGap project to Corodova iOS project in for xcode
- Issue compiling IONIC app with React on modern Android devices using Phonegap-nfc plugin
- Phonegap + Cordova does not work on latest Android versions
- Can't fetch API with cordova on iOS physical device
- Cordova text/javascript block grayed out
- Android Cordova - HTML5 Video fullscreen only works on first instance
- Cordova local storage security
- Facing Internet Connectivity Issues in Latest Version of Cordova Android - Cordova Android 11.0.0
- phonegap-nfc running without ionic in capacitor project
- ITMS-90809: Deprecated API Usage** - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability
- PhoneGap / Cordova clone
- SMS/MMS data location on Android, Cordova/PhoneGap, Cordova-Plugin-File
- Emulate Mifare/NFC tag using Ionic Angular
Related Questions in PHONEGAP-PUSHPLUGIN
- iOS push doesn't work when building from xcode
- Unable to open the app when clicking on push notification using PhoneGap plugin?
- cordova/platforms/android/src/com/gae/scaffolder/plugin/MyFirebaseMessagingService.java:38: error: cannot access AbstractSafeParcelable
- How to achieve inline-reply with iOS platform in ionic?
- Android notification white icon display for some device
- TestFlight push notifications not working
- notification received on background dose not trigger pushObject.on('notification'). when app is clised too
- iOS - Oh geez. Your build failed. Click the "Log" button above to view the compile log
- Old message is not removing in iPhone notification try
- Push notification on click event does not work when app is in background Ionic 3
- phonegap-plugin-push using data payload only replaces existing notification
- Phonegap-plugin-push notification
- Push Plugin register failed
- Custom notification sound not working in iOS app using cordova
- How to monitor FCM token refresh with phonegap push plugin
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use Ionic native firebase cloud messaging (https://ionicframework.com/docs/native/fcm/) plugin it is spport android and ios platform.
And it is onNotification() function for you can know how you get notification foreground or background.