-
Notifications
You must be signed in to change notification settings - Fork 286
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
App not opening when click on push. #205
Comments
Are you having these issues on iOS or android? |
I have the same problem. It happens in Android 12 and Android 13. Tested plugin version: 3.0.1 and 4.0.0-dev.0 My JS Code: document.addEventListener('deviceready', onDeviceReady, false); function onDeviceReady() {
} |
I found a solution that worked, at least in my case. Simply commenting out the 'click_action' in the .php file that sends the notification: $message = array( In this link you can see how the structure for this plugin has to be created: |
Bug Report
Expected Behaviour
When i get a push from the app, and click on the message the app should start.
Actual Behaviour
The app doesnt start. Looks like it's starting in the background.
Im using:
@havesource/cordova-plugin-push 4.0.0-dev.0
@havesource/cordova-plugin-push 4.0.0-dev.0 "Cordova Push Plugin"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.5 "Whitelist"
The text was updated successfully, but these errors were encountered: