-
Notifications
You must be signed in to change notification settings - Fork 25
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
Background runner plugin: backgroundrunner.dispatchEvent error #62
Comments
What does your js file look like? It looks like you may have a syntax error. |
Hi, same problem here. This is my runner file. That import at the top is a troublemaker. Without it the runner is working but the reference is missing. Is it a bug or am I doing something wrong?
|
OK if I understand correctly just few common use cases are supported for background runner and the root of the runner file can contain only runner function itself. Maybe some explanaitory error message would be fine ;) |
the same shit. So stupid that it is only a short message without any details. |
Bug Report
Plugin(s)
Capacitor Version
@capacitor/cli: 5.0.5
@capacitor/core: 5.0.5
@capacitor/android: 5.0.5
@capacitor/ios: 5.0.5
Platform(s)
Android, ios
Current Behavior
I'm using capacitor in a ionic+ stencil application
I'm not able to start correctly BackgroundRunner plugin
This is my runner.js location
this is my capacitor.config.ts
And I have this error
Is a problem cause by a wrong path for the runner.js file or something else?
I'm not able to make it work!
Expected Behavior
Plugin runs correctly
The text was updated successfully, but these errors were encountered: