We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 513591d commit d7ee172Copy full SHA for d7ee172
1 file changed
app/components/map/Map.svelte
@@ -503,7 +503,7 @@
503
if (__ANDROID__) {
504
Application.android.on(Application.android.activityBackPressedEvent, onAndroidBackButton);
505
if (!screenOnOffReceiver) {
506
- const ScreenOnReceiver = (<any>android.content.BroadcastReceiver).extend('com.example.ScreenOnReceiver', {
+ const ScreenOnReceiver = (<any>android.content.BroadcastReceiver).extend('android.content.BroadcastReceiver', {
507
onReceive: function (context: android.content.Context, intent: android.content.Intent) {
508
if (intent.getAction() === android.content.Intent.ACTION_SCREEN_OFF) {
509
console.log("Screen turned ON");
0 commit comments