-
Notifications
You must be signed in to change notification settings - Fork 34
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
🚸 at least on android, clicking on the notification does not do anything #910
Comments
I can confirm that removing the action does launch the app when the user clicks on the notification. @JGreenlee, for the workaround, I think we should just remove the action. Allowing people to choose the time is important, but not as important as launching the app when they click on the notification. Forcing them to click another button just to label is bad IMHO since we don't even see the buttons by default (see Spanish screenshot above). I am tempted to make that one line change (remove the action item) and reintroduce it in the point release. |
Here's the one line hack for this.
|
I also confirmed that, on iOS, clicking on the notification does open the app, even if there are actions. |
I will investigate this later today since it may be a native code issue. At worst, we fork and fix. |
I came at it from a few angles, and didn't find anything in the JS that would do the trick. So I do suspect it's something with the plugin |
Found it! It is indeed in the native code. Concretely:
Added in There doesn't seem to be any rationale recorded for the change. |
I can confirm that if I remove those lines from the native code, clicking on the notification (even with actions) opens the app. In parallel, I have submitted an issue to the main repo to see if it can be resolved at the root. |
I am 99% sure this used to work on the old trip-end notifications, but it is not currently working with the current cordova plugin.
We get the notification asking us to click to label with an action to "change time"
Clicking on "change time" opens the app to the profile screen.
Clicking on the notification directly does not launch the app; the notification just stays there doing nothing
This not such a huge issue, but it just feels very wrong visecerally. Asking people to click should do something when they do click.
The text was updated successfully, but these errors were encountered: