mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-13 09:53:22 +00:00
Merge branch 'master' of github.com:fyayc-chrisat/cordova-plugin-background-mode
This commit is contained in:
@@ -303,7 +303,7 @@ public class BackgroundMode extends CordovaPlugin {
|
|||||||
String str = String.format("%s._setActive(%b)",
|
String str = String.format("%s._setActive(%b)",
|
||||||
JS_NAMESPACE, active);
|
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, JS_NAMESPACE, eventName, params);
|
||||||
|
|
||||||
str = String.format("%s;%s.fireEvent('%s',%s);",
|
str = String.format("%s;%s.fireEvent('%s',%s);",
|
||||||
|
|||||||
Reference in New Issue
Block a user