Skip to content
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

No event fired if app is not running #2

Open
mariosteinbacher opened this issue Jan 19, 2023 · 0 comments
Open

No event fired if app is not running #2

mariosteinbacher opened this issue Jan 19, 2023 · 0 comments

Comments

@mariosteinbacher
Copy link

The event (trigger, click, clear) callback functions do not get executed if the app is not running.
Or do I missunderstand the functionality of that BroadcastReceiver in the Manifestfile? (https://developer.android.com/guide/components/broadcasts)
Shouldn't that start the application to execute something that I have registered.

Your Environment

  • Plugin version: 0.10.0
  • Platform: Android
  • OS version: 10 - 13
  • Device manufacturer / model: Xiaomi Redmi 7A and Google Pixel 6
  • Cordova version (cordova -v): 11.0.0
  • Cordova platform version (cordova platform ls): android 11.0.0

Expected Behavior

event callback gets executed

Actual Behavior

event callback does not execute

Steps to Reproduce

  1. Register function on event (like console.log() something)
  2. schedule a notification
  3. stop App and remove from AppDrawer
  4. wait for scheduled notfication and watch Android Studio LogCat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant