mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 05:47:35 +00:00
Merge branch 'master' of github.com:fyayc-chrisat/cordova-plugin-background-mode
This commit is contained in:
commit
0e9b95013d
@ -303,7 +303,7 @@ public class BackgroundMode extends CordovaPlugin {
|
||||
String str = String.format("%s._setActive(%b)",
|
||||
JS_NAMESPACE, active);
|
||||
|
||||
str = String.format("%s;%s.on%s(%s)",
|
||||
str = String.format("%s;%s.on('%s', %s)",
|
||||
str, JS_NAMESPACE, eventName, params);
|
||||
|
||||
str = String.format("%s;%s.fireEvent('%s',%s);",
|
||||
|
Loading…
Reference in New Issue
Block a user