Steffaan / cordova-plugin-local-notifications

Cordova Local Notifications Plugin
Apache License 2.0
31 stars 38 forks source link

clicking on notification button works but unable to bring the app to foreground #37

Closed keev-studio closed 2 years ago

keev-studio commented 2 years ago

WARNING: IF YOU IGNORE THIS TEMPLATE, WE'LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!

Provide a general summary of the issue.

Your Environment

Expected Behavior

After sending the app to background and receiving the notification I click on notification button and I should bring the app into foreground (in Katzer was working) by using launch: true

Actual Behavior

After sending the app to background and receiving the notification I click on notification button but app stay in background. I know that notification is working because I get desired page in the app (in background)

Steps to Reproduce

Reproduce this issue; include code to reproduce, if relevant

  1. ...
  2. ...
  3. ...
  4. ....

Context

What were you trying to do?

Debug logs

Include iOS / Android logs

keev-studio commented 2 years ago

its weird I just found out that this behavior persist if I have phone connected to my computer in development disconnecting the usb cable fixed the issue Ups