Loading src/android/Receiver.java +2 −1 Changes for src/android/Receiver.java: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.text.TextUtils; /** * The alarm receiver is triggered when a scheduled alarm is fired. This class Loading Loading @@ -181,7 +182,7 @@ public class Receiver extends BroadcastReceiver { // after reboot, LocalNotification.webView is always null // may be call foreground callback later if (function != null && LocalNotification.webView != null) { if (!TextUtils.isEmpty(function) && LocalNotification.webView != null) { LocalNotification.webView.sendJavascript(function + "(" + options.getId() + ")"); } } Loading src/android/ReceiverActivity.java +2 −1 Changes for src/android/ReceiverActivity.java: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; public class ReceiverActivity extends Activity { Loading Loading @@ -74,7 +75,7 @@ public class ReceiverActivity extends Activity { // after reboot, LocalNotification.webView is always null // may be call background callback later if (function != null && LocalNotification.webView != null) { if (!TextUtils.isEmpty(function) && LocalNotification.webView != null) { LocalNotification.webView.sendJavascript("setTimeout('" + function + "(" + options.getId() + ")',0)"); } } Loading Loading
src/android/Receiver.java +2 −1 Changes for src/android/Receiver.java: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.text.TextUtils; /** * The alarm receiver is triggered when a scheduled alarm is fired. This class Loading Loading @@ -181,7 +182,7 @@ public class Receiver extends BroadcastReceiver { // after reboot, LocalNotification.webView is always null // may be call foreground callback later if (function != null && LocalNotification.webView != null) { if (!TextUtils.isEmpty(function) && LocalNotification.webView != null) { LocalNotification.webView.sendJavascript(function + "(" + options.getId() + ")"); } } Loading
src/android/ReceiverActivity.java +2 −1 Changes for src/android/ReceiverActivity.java: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; public class ReceiverActivity extends Activity { Loading Loading @@ -74,7 +75,7 @@ public class ReceiverActivity extends Activity { // after reboot, LocalNotification.webView is always null // may be call background callback later if (function != null && LocalNotification.webView != null) { if (!TextUtils.isEmpty(function) && LocalNotification.webView != null) { LocalNotification.webView.sendJavascript("setTimeout('" + function + "(" + options.getId() + ")',0)"); } } Loading