[SOLVED] Geolocation.getCurrentPosition() not firing

Edit: Solved. It was a problem with my hardware. Tried a different phone and it worked.

Using Ionic 6, Angular, Capacitor. Fails on a real physical device and the emulator, both. At one point in time, I was able to getCurrentPosition(), but something changed and I no longer can. Created a blank app named ‘deleteme’ and still not able to. Followed a number of tutorials, most recently this one. Either real physical device or emulator, for either one Geolocation.getCurrentPosition() is not firing.

I am choosing to allow location with the permission request.

Phone is only on Wi-Fi, not connected to a cell network.

Please assist.

image

image

home.page.ts:

import { Component } from '@angular/core';
import { Geolocation } from '@ionic-native/geolocation/ngx';

@Component({
  selector: 'app-home',
  templateUrl: 'home.page.html',
  styleUrls: ['home.page.scss'],
})
export class HomePage {
  latitude: number;
  longitude: number;

  constructor(private geolocation: Geolocation) {
    this.getLocation();
  }

  async getLocation() {
    console.log('[DEBUG] About to getCurrentPosition()');
    const position = await this.geolocation.getCurrentPosition();
    this.latitude = position.coords.latitude;
    this.longitude = position.coords.longitude;
  }
}

home.page.html:

<ion-card>
  <ion-card-header>
    <ion-card-title>Coordinates</ion-card-title>
  </ion-card-header>
  <ion-card-content>
    <ion-item>Latitude: {{ latitude }}</ion-item>
    <ion-item>Longitude: {{ longitude }}</ion-item>
  </ion-card-content>
</ion-card>

app.module.ts:

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouteReuseStrategy } from '@angular/router';

import { IonicModule, IonicRouteStrategy } from '@ionic/angular';

import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { Geolocation } from '@ionic-native/geolocation/ngx';

@NgModule({
  declarations: [AppComponent],
  entryComponents: [],
  imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule],
  providers: [
    { provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
    Geolocation,
  ],
  bootstrap: [AppComponent],
})
export class AppModule {}

AndroidManifest.xml:

    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-feature android:name="android.hardware.location.gps" />

Logs part 1:

2021-04-05 22:57:58.611 20769-20769/? I/art: Not late-enabling -Xcheck:jni (already on)
2021-04-05 22:57:58.611 20769-20769/? W/art: Unexpected CPU variant for X86 using defaults: x86
2021-04-05 22:57:58.667 20769-20769/io.ionic.starter W/System: ClassLoader referenced unknown path: /data/app/io.ionic.starter-1/lib/x86
2021-04-05 22:57:58.678 20769-20769/io.ionic.starter W/FirebaseApp: Default FirebaseApp failed to initialize because no default options were found. This usually means that com.google.gms:google-services was not applied to your gradle project.
2021-04-05 22:57:58.678 20769-20769/io.ionic.starter I/FirebaseInitProvider: FirebaseApp initialization unsuccessful
2021-04-05 22:57:58.706 20769-20769/io.ionic.starter W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
2021-04-05 22:57:58.711 20769-20769/io.ionic.starter W/ResourceType: Invalid package identifier when getting bag for resource number 0x00000000
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void androidx.core.view.ViewCompat.setOnApplyWindowInsetsListener(android.view.View, androidx.core.view.OnApplyWindowInsetsListener) (ViewCompat.java:2436)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:779)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List, org.json.JSONObject) (BridgeActivity.java:60)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List) (BridgeActivity.java:48)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void io.ionic.starter.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:16)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6662)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2599)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2707)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1460)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.os.Looper.loop() (Looper.java:154)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:866)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:756)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/io.ionic.starter-1/base.apk"],nativeLibraryDirectories=[/data/app/io.ionic.starter-1/lib/x86, /system/lib, /vendor/lib]]
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void androidx.core.view.ViewCompat.setOnApplyWindowInsetsListener(android.view.View, androidx.core.view.OnApplyWindowInsetsListener) (ViewCompat.java:2436)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:779)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List, org.json.JSONObject) (BridgeActivity.java:60)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List) (BridgeActivity.java:48)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void io.ionic.starter.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:16)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6662)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2599)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2707)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1460)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.os.Looper.loop() (Looper.java:154)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:866)
2021-04-05 22:57:58.734 20769-20769/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:756)
2021-04-05 22:57:58.788 20769-20769/io.ionic.starter W/System: ClassLoader referenced unknown path: /system/app/Chrome/lib/x86
2021-04-05 22:57:58.791 20769-20769/io.ionic.starter I/WebViewFactory: Loading com.android.chrome version 69.0.3497.100 (code 349710017)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art: Rejecting re-init on previously-failed class java.lang.Class<uJ>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.view.View.<init>(android.content.Context) (View.java:4002)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4119)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:578)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
2021-04-05 22:57:58.832 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.CapacitorWebView.<init>(android.content.Context, android.util.AttributeSet) (CapacitorWebView.java:15)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:645)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:787)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:727)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:858)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:821)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:518)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:426)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:555)
2021-04-05 22:57:58.833 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List, org.json.JSONObject) (BridgeActivity.java:60)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List) (BridgeActivity.java:48)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void io.ionic.starter.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:16)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6662)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2599)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2707)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1460)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void android.os.Looper.loop() (Looper.java:154)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:866)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:756)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.TracingController" on path: DexPathList[[zip file "/system/app/Chrome/Chrome.apk"],nativeLibraryDirectories=[/system/app/Chrome/lib/x86, /system/app/Chrome/Chrome.apk!/lib/x86, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
2021-04-05 22:57:58.834 20769-20769/io.ionic.starter I/art:     at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
2021-04-05 22:57:58.835 20769-20769/io.ionic.starter I/art:     at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
2021-04-05 22:57:58.835 20769-20769/io.ionic.starter I/art:     at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
2021-04-05 22:57:58.835 20769-20769/io.ionic.starter I/art:     at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
2021-04-05 22:57:58.835 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
2021-04-05 22:57:58.836 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
2021-04-05 22:57:58.836 20769-20769/io.ionic.starter I/art:     at void android.view.View.<init>(android.content.Context) (View.java:4002)
2021-04-05 22:57:58.836 20769-20769/io.ionic.starter I/art:     at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4119)
2021-04-05 22:57:58.836 20769-20769/io.ionic.starter I/art:     at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:578)
2021-04-05 22:57:58.836 20769-20769/io.ionic.starter I/art:     at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
2021-04-05 22:57:58.836 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
2021-04-05 22:57:58.836 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.CapacitorWebView.<init>(android.content.Context, android.util.AttributeSet) (CapacitorWebView.java:15)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:645)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:787)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:727)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:858)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:821)
2021-04-05 22:57:58.837 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:518)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:426)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:555)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List, org.json.JSONObject) (BridgeActivity.java:60)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List) (BridgeActivity.java:48)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void io.ionic.starter.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:16)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6662)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2599)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2707)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1460)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void android.os.Looper.loop() (Looper.java:154)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:866)
2021-04-05 22:57:58.838 20769-20769/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:756)
2021-04-05 22:57:58.871 20769-20769/io.ionic.starter I/cr_LibraryLoader: Time to load native libraries: 11 ms (timestamps 4444-4455)
2021-04-05 22:57:58.892 20769-20787/io.ionic.starter E/cr_VariationsUtils: Failed reading seed file "/data/user/0/io.ionic.starter/app_webview/variations_seed_new": /data/user/0/io.ionic.starter/app_webview/variations_seed_new (No such file or directory)
2021-04-05 22:57:58.895 20769-20769/io.ionic.starter W/ResourceType: Invalid package identifier when getting bag for resource number 0x00000000
2021-04-05 22:57:58.895 20769-20769/io.ionic.starter W/ResourceType: Invalid package identifier when getting bag for resource number 0x00000000
2021-04-05 22:57:58.900 20769-20769/io.ionic.starter I/chromium: [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
2021-04-05 22:57:58.900 20769-20769/io.ionic.starter I/cr_LibraryLoader: Expected native library version number "69.0.3497.100", actual native library version number "69.0.3497.100"
2021-04-05 22:57:58.914 20769-20769/io.ionic.starter I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
2021-04-05 22:57:58.916 20769-20769/io.ionic.starter W/ResourceType: Failure getting entry for 0x7f1204b0 (t=17 e=1200) (error -2147483647)
2021-04-05 22:57:58.945 20769-20769/io.ionic.starter I/chromium: [INFO:aw_field_trial_creator.cc(54)] First-WebView-Experiment not found
2021-04-05 22:57:59.047 20769-20769/io.ionic.starter D/Capacitor: Starting BridgeActivity
2021-04-05 22:57:59.057 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: App
2021-04-05 22:57:59.058 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Accessibility
2021-04-05 22:57:59.058 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: BackgroundTask
2021-04-05 22:57:59.059 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Browser
2021-04-05 22:57:59.060 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Camera
2021-04-05 22:57:59.060 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Clipboard
2021-04-05 22:57:59.062 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Device
2021-04-05 22:57:59.062 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: LocalNotifications
2021-04-05 22:57:59.067 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Filesystem
2021-04-05 22:57:59.068 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Geolocation
2021-04-05 22:57:59.076 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Haptics
2021-04-05 22:57:59.078 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Keyboard
2021-04-05 22:57:59.079 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Modals
2021-04-05 22:57:59.079 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Network
2021-04-05 22:57:59.081 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Permissions
2021-04-05 22:57:59.082 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Photos
2021-04-05 22:57:59.082 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: PushNotifications

Logs part 2:

2021-04-05 22:57:59.083 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Share
2021-04-05 22:57:59.083 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: SplashScreen
2021-04-05 22:57:59.084 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: StatusBar
2021-04-05 22:57:59.085 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Storage
2021-04-05 22:57:59.092 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: Toast
2021-04-05 22:57:59.093 20769-20769/io.ionic.starter D/Capacitor: Registering plugin: WebView
2021-04-05 22:57:59.161 20769-20769/io.ionic.starter D/Capacitor: Loading app at http://localhost
2021-04-05 22:57:59.179 20769-20804/io.ionic.starter W/cr_media: Requires BLUETOOTH permission
2021-04-05 22:57:59.184 20769-20822/io.ionic.starter E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
2021-04-05 22:57:59.206 20769-20769/io.ionic.starter D/Capacitor/LN: LocalNotification received: null
2021-04-05 22:57:59.206 20769-20769/io.ionic.starter D/Capacitor/LN: Activity started without notification attached
2021-04-05 22:57:59.208 20769-20769/io.ionic.starter D/Capacitor: App started
2021-04-05 22:57:59.211 20769-20807/io.ionic.starter D/Capacitor: Handling local request: http://localhost/
2021-04-05 22:57:59.212 20769-20769/io.ionic.starter D/Capacitor/App: Firing change: true
2021-04-05 22:57:59.212 20769-20769/io.ionic.starter V/Capacitor/App: Notifying listeners for event appStateChange
2021-04-05 22:57:59.213 20769-20769/io.ionic.starter D/Capacitor/App: No listeners found for event appStateChange
2021-04-05 22:57:59.233 20769-20769/io.ionic.starter D/Capacitor: App resumed
2021-04-05 22:57:59.239 20769-20822/io.ionic.starter D/EGL_emulation: eglCreateContext: 0x8951fbe0: maj 3 min 1 rcv 4
2021-04-05 22:57:59.243 20769-20822/io.ionic.starter D/EGL_emulation: eglMakeCurrent: 0x8951fbe0: ver 3 1 (tinfo 0x8955da90)
2021-04-05 22:57:59.246 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
2021-04-05 22:57:59.247 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
2021-04-05 22:57:59.247 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
2021-04-05 22:57:59.263 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x000087fe
2021-04-05 22:57:59.303 20769-20822/io.ionic.starter I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
2021-04-05 22:57:59.305 20769-20822/io.ionic.starter W/cr_MediaCodecUtil: HW encoder for video/avc is not available on this device.
2021-04-05 22:57:59.310 20769-20822/io.ionic.starter D/EGL_emulation: eglCreateContext: 0x8951f400: maj 3 min 0 rcv 3
2021-04-05 22:57:59.311 20769-20822/io.ionic.starter D/EGL_emulation: eglMakeCurrent: 0x8951f400: ver 3 0 (tinfo 0x8955da90)
2021-04-05 22:57:59.311 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
2021-04-05 22:57:59.311 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
2021-04-05 22:57:59.319 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008a34
2021-04-05 22:57:59.319 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008073
2021-04-05 22:57:59.319 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x000088ff
2021-04-05 22:57:59.349 20769-20822/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x000088ff
2021-04-05 22:57:59.393 20769-20769/io.ionic.starter V/Capacitor/Network: Notifying listeners for event networkStatusChange
2021-04-05 22:57:59.393 20769-20769/io.ionic.starter D/Capacitor/Network: No listeners found for event networkStatusChange
2021-04-05 22:57:59.439 20769-20830/io.ionic.starter I/OpenGLRenderer: Initialized EGL, version 1.4
2021-04-05 22:57:59.439 20769-20830/io.ionic.starter D/OpenGLRenderer: Swap behavior 1
2021-04-05 22:57:59.442 20769-20830/io.ionic.starter W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2021-04-05 22:57:59.442 20769-20830/io.ionic.starter D/OpenGLRenderer: Swap behavior 0
2021-04-05 22:57:59.486 20769-20830/io.ionic.starter D/EGL_emulation: eglCreateContext: 0x8a3735c0: maj 3 min 1 rcv 4
2021-04-05 22:57:59.508 20769-20830/io.ionic.starter D/EGL_emulation: eglMakeCurrent: 0x8a3735c0: ver 3 1 (tinfo 0x874591e0)
2021-04-05 22:57:59.509 20769-20830/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
2021-04-05 22:57:59.509 20769-20830/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
2021-04-05 22:57:59.509 20769-20830/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
2021-04-05 22:57:59.523 20769-20830/io.ionic.starter D/EGL_emulation: eglMakeCurrent: 0x8a3735c0: ver 3 1 (tinfo 0x874591e0)
2021-04-05 22:57:59.546 20769-20830/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008a34
2021-04-05 22:57:59.547 20769-20830/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008073
2021-04-05 22:57:59.547 20769-20830/io.ionic.starter E/eglCodecCommon: glUtilsParamSize: unknow param 0x000088ff
2021-04-05 22:57:59.620 20769-20832/io.ionic.starter W/cr_CrashFileManager: /data/user/0/io.ionic.starter/cache/WebView/Crash Reports does not exist or is not a directory
2021-04-05 22:57:59.659 20769-20807/io.ionic.starter D/Capacitor: Handling local request: http://localhost/styles.css
2021-04-05 22:57:59.659 20769-20802/io.ionic.starter D/Capacitor: Handling local request: http://localhost/runtime.js
2021-04-05 22:57:59.661 20769-20808/io.ionic.starter D/Capacitor: Handling local request: http://localhost/polyfills.js
2021-04-05 22:57:59.733 20769-20802/io.ionic.starter D/Capacitor: Handling local request: http://localhost/main.js
2021-04-05 22:57:59.734 20769-20807/io.ionic.starter D/Capacitor: Handling local request: http://localhost/vendor.js
2021-04-05 22:57:59.750 20769-20823/io.ionic.starter E/chromium: [ERROR:budget_service.cc(145)] Unable to connect to the Mojo BudgetService.
2021-04-05 22:57:59.763 20769-20769/io.ionic.starter I/Capacitor/Console: File: capacitor-runtime.js - Line 2398 - Msg: onscript loading complete
2021-04-05 22:58:00.471 20769-20769/io.ionic.starter I/Capacitor/Console: File: http://localhost/vendor.js - Line 80902 - Msg: Angular is running in development mode. Call enableProdMode() to enable production mode.
2021-04-05 22:58:00.476 20769-20802/io.ionic.starter D/Capacitor: Handling local request: http://localhost/common.js
2021-04-05 22:58:00.477 20769-20808/io.ionic.starter D/Capacitor: Handling local request: http://localhost/2.js
2021-04-05 22:58:00.495 20769-20802/io.ionic.starter D/Capacitor: Handling local request: http://localhost/home-home-module.js
2021-04-05 22:58:00.511 20769-20769/io.ionic.starter I/Capacitor/Console: File: http://localhost/vendor.js - Line 44092 - Msg: Ionic Native: deviceready event fired after 246 ms
2021-04-05 22:58:00.521 20769-20802/io.ionic.starter D/Capacitor: Handling local request: http://localhost/swipe-back-ee838cf8-js.js
2021-04-05 22:58:00.581 20769-20769/io.ionic.starter I/Capacitor/Console: File: http://localhost/home-home-module.js - Line 135 - Msg: [DEBUG] About to getCurrentPosition()
2021-04-05 22:58:00.589 20769-20835/io.ionic.starter V/Capacitor/Plugin: To native (Cordova plugin): callbackId: Geolocation202308020, service: Geolocation, action: getPermission, actionArgs: []
2021-04-05 22:58:00.611 20769-20802/io.ionic.starter D/Capacitor: Handling local request: http://localhost/7.js
2021-04-05 22:58:00.611 20769-20808/io.ionic.starter D/Capacitor: Handling local request: http://localhost/17.js
2021-04-05 22:58:00.627 20769-20769/io.ionic.starter D/Capacitor: onGeolocationPermissionsShowPrompt: DOING IT HERE FOR ORIGIN: http://localhost/
2021-04-05 22:58:00.627 20769-20769/io.ionic.starter D/Capacitor: onGeolocationPermissionsShowPrompt: has required permis
2021-04-05 22:58:00.693 20769-20808/io.ionic.starter D/Capacitor: Handling local request: http://localhost/assets/icon/favicon.png
2021-04-05 22:58:00.715 20769-20802/io.ionic.starter D/Capacitor: Handling local request: http://localhost/tap-click-cc1ae2b2-js.js
2021-04-05 22:58:00.716 20769-20808/io.ionic.starter D/Capacitor: Handling local request: http://localhost/status-tap-bdecfebf-js.js
2021-04-05 22:58:00.727 20769-20835/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: 42352855, pluginId: App, methodName: addListener
2021-04-05 22:58:00.728 20769-20835/io.ionic.starter V/Capacitor: callback: 42352855, pluginId: App, methodName: addListener, methodData: {"eventName":"backButton"}
2021-04-05 22:58:00.738 20769-20808/io.ionic.starter D/Capacitor: Handling local request: http://localhost/keyboard-5742b5da-js.js
2021-04-05 22:58:00.742 20769-20808/io.ionic.starter D/Capacitor: Handling local request: http://localhost/focus-visible-f4ad4f1a-js.js

In the emulator, I wasn’t setting the location manually. Now, this code works in the emulator, but not on the physical. It is different than the above in that I am now using @capacitor/core, high accuracy, and calling Geolocation directly. Saw it here. Phone allows high accuracy mode, but I’ve also tried with enableHighAccuracy: false.

import { Component } from '@angular/core';
import { Plugins } from '@capacitor/core';
const { Geolocation } = Plugins;

@Component({
  selector: 'app-home',
  templateUrl: 'home.page.html',
  styleUrls: ['home.page.scss'],
})
export class HomePage {
  latitude: number;
  longitude: number;

  constructor() {
    this.getLocation();
  }

  async getLocation() {
    console.log('[DEBUG] About to getCurrentPosition()');
    const position = await Geolocation.getCurrentPosition({
      enableHighAccuracy: true,
    });
    console.log('[DEBUG] position: ' + JSON.stringify(position));
    this.latitude = position.coords.latitude;
    this.longitude = position.coords.longitude;
  }
}

Logs:

2021-04-06 00:31:39.212 13346-13346/? E/Zygote: v2
2021-04-06 00:31:39.212 13346-13346/? I/libpersona: KNOX_SDCARD checking this for 10375
2021-04-06 00:31:39.212 13346-13346/? I/libpersona: KNOX_SDCARD not a persona
2021-04-06 00:31:39.213 13346-13346/? E/Zygote: accessInfo : 0
2021-04-06 00:31:39.214 13346-13346/? W/SELinux: SELinux selinux_android_compute_policy_index : Policy Index[2],  Con:u:r:zygote:s0 RAM:SEPF_SECMOBILE_7.0_0009, [-1 -1 -1 -1 0 1]
2021-04-06 00:31:39.215 13346-13346/? I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=io.ionic.starter 
2021-04-06 00:31:39.218 13346-13346/? I/art: Late-enabling -Xcheck:jni
2021-04-06 00:31:39.234 13346-13346/io.ionic.starter D/TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service
2021-04-06 00:31:39.260 13346-13346/io.ionic.starter W/System: ClassLoader referenced unknown path: /data/app/io.ionic.starter-1/lib/arm64
2021-04-06 00:31:39.273 13346-13346/io.ionic.starter W/FirebaseApp: Default FirebaseApp failed to initialize because no default options were found. This usually means that com.google.gms:google-services was not applied to your gradle project.
2021-04-06 00:31:39.273 13346-13346/io.ionic.starter I/FirebaseInitProvider: FirebaseApp initialization unsuccessful
2021-04-06 00:31:39.306 13346-13346/io.ionic.starter W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
2021-04-06 00:31:39.310 13346-13346/io.ionic.starter W/ResourceType: Invalid package identifier when getting bag for resource number 0x00000000
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void androidx.core.view.ViewCompat.setOnApplyWindowInsetsListener(android.view.View, androidx.core.view.OnApplyWindowInsetsListener) (ViewCompat.java:2436)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:779)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List, org.json.JSONObject) (BridgeActivity.java:60)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List) (BridgeActivity.java:48)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void io.ionic.starter.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:16)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6942)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1126)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2880)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2988)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.ActivityThread.-wrap14(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1631)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.os.Looper.loop() (Looper.java:154)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6682)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:1520)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1410)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/io.ionic.starter-1/base.apk"],nativeLibraryDirectories=[/data/app/io.ionic.starter-1/lib/arm64, /system/lib64, /vendor/lib64]]
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void androidx.core.view.ViewCompat.setOnApplyWindowInsetsListener(android.view.View, androidx.core.view.OnApplyWindowInsetsListener) (ViewCompat.java:2436)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:779)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List, org.json.JSONObject) (BridgeActivity.java:60)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void com.getcapacitor.BridgeActivity.init(android.os.Bundle, java.util.List) (BridgeActivity.java:48)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void io.ionic.starter.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:16)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6942)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1126)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2880)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2988)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.ActivityThread.-wrap14(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1631)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.os.Looper.loop() (Looper.java:154)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6682)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:1520)
2021-04-06 00:31:39.326 13346-13346/io.ionic.starter I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1410)
2021-04-06 00:31:39.370 13346-13346/io.ionic.starter I/WebViewFactory: Loading com.android.chrome version 89.0.4389.105 (code 438910523)
2021-04-06 00:31:39.420 13346-13346/io.ionic.starter W/ResourceType: Invalid package identifier when getting bag for resource number 0x00000000
2021-04-06 00:31:39.420 13346-13346/io.ionic.starter W/ResourceType: Invalid package identifier when getting bag for resource number 0x00000000
2021-04-06 00:31:39.426 13346-13346/io.ionic.starter I/cr_LibraryLoader: Loaded native library version number "89.0.4389.105"
2021-04-06 00:31:39.427 13346-13346/io.ionic.starter I/cr_CachingUmaRecorder: Flushed 4 samples from 4 histograms.
2021-04-06 00:31:39.445 13346-13346/io.ionic.starter W/ResourceType: Failure getting entry for 0x7f1306e5 (t=18 e=1765) (error -2147483647)
2021-04-06 00:31:39.510 13346-13346/io.ionic.starter D/ConnectivityManager: requestNetwork; CallingUid : 10375, CallingPid : 13346
2021-04-06 00:31:39.532 13346-13346/io.ionic.starter D/Capacitor: Starting BridgeActivity
2021-04-06 00:31:39.541 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: App
2021-04-06 00:31:39.543 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Accessibility
2021-04-06 00:31:39.544 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: BackgroundTask
2021-04-06 00:31:39.546 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Browser
2021-04-06 00:31:39.547 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Camera
2021-04-06 00:31:39.549 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Clipboard
2021-04-06 00:31:39.550 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Device
2021-04-06 00:31:39.551 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: LocalNotifications
2021-04-06 00:31:39.558 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Filesystem
2021-04-06 00:31:39.560 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Geolocation
2021-04-06 00:31:39.562 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Haptics
2021-04-06 00:31:39.564 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Keyboard
2021-04-06 00:31:39.566 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Modals
2021-04-06 00:31:39.567 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Network
2021-04-06 00:31:39.568 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Permissions
2021-04-06 00:31:39.570 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Photos
2021-04-06 00:31:39.571 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: PushNotifications
2021-04-06 00:31:39.572 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Share
2021-04-06 00:31:39.573 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: SplashScreen
2021-04-06 00:31:39.574 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: StatusBar
2021-04-06 00:31:39.576 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Storage
2021-04-06 00:31:39.578 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: Toast
2021-04-06 00:31:39.579 13346-13346/io.ionic.starter D/Capacitor: Registering plugin: WebView
2021-04-06 00:31:39.599 13346-13346/io.ionic.starter D/Capacitor: Loading app at http://localhost
2021-04-06 00:31:39.614 13346-13385/io.ionic.starter W/cr_media: Requires BLUETOOTH permission
2021-04-06 00:31:39.621 13346-13346/io.ionic.starter D/Capacitor/LN: LocalNotification received: null
2021-04-06 00:31:39.621 13346-13346/io.ionic.starter D/Capacitor/LN: Activity started without notification attached
2021-04-06 00:31:39.624 13346-13346/io.ionic.starter D/Capacitor: App started
2021-04-06 00:31:39.638 13346-13402/io.ionic.starter D/libEGL: loaded /vendor/lib64/egl/libGLES_mali.so
2021-04-06 00:31:39.648 13346-13346/io.ionic.starter D/Capacitor/App: Firing change: true
2021-04-06 00:31:39.648 13346-13346/io.ionic.starter V/Capacitor/App: Notifying listeners for event appStateChange
2021-04-06 00:31:39.648 13346-13346/io.ionic.starter D/Capacitor/App: No listeners found for event appStateChange
2021-04-06 00:31:39.655 13346-13402/io.ionic.starter E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
2021-04-06 00:31:39.669 13346-13346/io.ionic.starter D/Capacitor: App resumed
2021-04-06 00:31:39.676 13346-13402/io.ionic.starter E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
2021-04-06 00:31:39.685 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: ThreadedRenderer.create() translucent=false
2021-04-06 00:31:39.689 13346-13346/io.ionic.starter D/InputTransport: Input channel constructed: fd=55
2021-04-06 00:31:39.691 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: setView = DecorView@b209ef8[MainActivity] touchMode=true
2021-04-06 00:31:39.709 13346-13384/io.ionic.starter D/Capacitor: Handling local request: http://localhost/
2021-04-06 00:31:39.721 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: dispatchAttachedToWindow
2021-04-06 00:31:39.737 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: Relayout returned: oldFrame=[0,0][0,0] newFrame=[0,0][1440,2560] result=0x7 surface={isValid=true 511828275200} surfaceGenerationChanged=true
2021-04-06 00:31:39.738 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: mHardwareRenderer.initialize() mSurface={isValid=true 511828275200} hwInitialized=true
2021-04-06 00:31:39.738 13346-13434/io.ionic.starter I/OpenGLRenderer: Initialized EGL, version 1.4
2021-04-06 00:31:39.738 13346-13434/io.ionic.starter D/OpenGLRenderer: Swap behavior 1
2021-04-06 00:31:39.747 13346-13434/io.ionic.starter D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1440x2560]-format:1
2021-04-06 00:31:39.757 13346-13346/io.ionic.starter V/Capacitor/Network: Notifying listeners for event networkStatusChange
2021-04-06 00:31:39.757 13346-13346/io.ionic.starter D/Capacitor/Network: No listeners found for event networkStatusChange
2021-04-06 00:31:39.808 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: MSG_RESIZED_REPORT: ci=Rect(0, 84 - 0, 0) vi=Rect(0, 84 - 0, 0) or=1
2021-04-06 00:31:39.808 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1
2021-04-06 00:31:39.808 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 511828275200}
2021-04-06 00:31:39.809 13346-13346/io.ionic.starter V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@f8eef41 nm : io.ionic.starter ic=null
2021-04-06 00:31:39.809 13346-13346/io.ionic.starter I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
2021-04-06 00:31:39.815 13346-13360/io.ionic.starter D/InputTransport: Input channel constructed: fd=146
2021-04-06 00:31:39.816 13346-13346/io.ionic.starter V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@a8b5227 nm : io.ionic.starter ic=null
2021-04-06 00:31:39.819 13346-13380/io.ionic.starter D/Capacitor: Handling local request: http://localhost/styles.css
2021-04-06 00:31:39.820 13346-13384/io.ionic.starter D/Capacitor: Handling local request: http://localhost/runtime.js
2021-04-06 00:31:39.849 13346-13384/io.ionic.starter D/Capacitor: Handling local request: http://localhost/polyfills.js
2021-04-06 00:31:39.853 13346-13384/io.ionic.starter D/Capacitor: Handling local request: http://localhost/vendor.js
2021-04-06 00:31:39.854 13346-13381/io.ionic.starter D/Capacitor: Handling local request: http://localhost/main.js
2021-04-06 00:31:39.862 13346-13346/io.ionic.starter I/Capacitor/Console: File: capacitor-runtime.js - Line 2398 - Msg: onscript loading complete
2021-04-06 00:31:40.532 13346-13346/io.ionic.starter I/Capacitor/Console: File: http://localhost/vendor.js - Line 80902 - Msg: Angular is running in development mode. Call enableProdMode() to enable production mode.
2021-04-06 00:31:40.538 13346-13379/io.ionic.starter D/Capacitor: Handling local request: http://localhost/common.js
2021-04-06 00:31:40.539 13346-13384/io.ionic.starter D/Capacitor: Handling local request: http://localhost/2.js
2021-04-06 00:31:40.551 13346-13384/io.ionic.starter D/Capacitor: Handling local request: http://localhost/home-home-module.js
2021-04-06 00:31:40.558 13346-13346/io.ionic.starter I/Capacitor/Console: File: http://localhost/vendor.js - Line 44092 - Msg: Ionic Native: deviceready event fired after 215 ms
2021-04-06 00:31:40.571 13346-13381/io.ionic.starter D/Capacitor: Handling local request: http://localhost/swipe-back-ee838cf8-js.js
2021-04-06 00:31:40.671 13346-13346/io.ionic.starter I/Capacitor/Console: File: http://localhost/home-home-module.js - Line 2878 - Msg: [DEBUG] About to getCurrentPosition()
2021-04-06 00:31:40.674 13346-13451/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: 123526373, pluginId: Geolocation, methodName: getCurrentPosition
2021-04-06 00:31:40.674 13346-13451/io.ionic.starter V/Capacitor: callback: 123526373, pluginId: Geolocation, methodName: getCurrentPosition, methodData: {"enableHighAccuracy":true}
2021-04-06 00:31:40.708 13346-13380/io.ionic.starter D/Capacitor: Handling local request: http://localhost/7.js
2021-04-06 00:31:40.711 13346-13380/io.ionic.starter D/Capacitor: Handling local request: http://localhost/17.js
2021-04-06 00:31:40.744 13346-13380/io.ionic.starter D/Capacitor: Handling local request: http://localhost/tap-click-cc1ae2b2-js.js
2021-04-06 00:31:40.748 13346-13451/io.ionic.starter V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: 123526374, pluginId: App, methodName: addListener
2021-04-06 00:31:40.748 13346-13380/io.ionic.starter D/Capacitor: Handling local request: http://localhost/status-tap-bdecfebf-js.js
2021-04-06 00:31:40.748 13346-13451/io.ionic.starter V/Capacitor: callback: 123526374, pluginId: App, methodName: addListener, methodData: {"eventName":"backButton"}
2021-04-06 00:31:40.754 13346-13379/io.ionic.starter D/Capacitor: Handling local request: http://localhost/keyboard-5742b5da-js.js
2021-04-06 00:31:40.757 13346-13379/io.ionic.starter D/Capacitor: Handling local request: http://localhost/focus-visible-f4ad4f1a-js.js
2021-04-06 00:31:40.783 13346-13379/io.ionic.starter D/Capacitor: Handling local request: http://localhost/assets/icon/favicon.png
2021-04-06 00:31:56.754 13346-13397/io.ionic.starter D/Capacitor: Sending plugin error: {"save":false,"callbackId":"123526373","pluginId":"Geolocation","methodName":"getCurrentPosition","success":false,"error":{"message":"location unavailable"}}
2021-04-06 00:31:56.831 13346-13346/io.ionic.starter E/Capacitor/Console: File: http://localhost/vendor.js - Line 59157 - Msg: ERROR Error: Uncaught (in promise): Error: location unavailable
    Error: location unavailable
        at Object.fromNative (capacitor-runtime.js:230:14)
        at <anonymous>:1:18
2021-04-06 00:34:46.150 13346-13346/io.ionic.starter V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@d2be8f7 nm : io.ionic.starter ic=null
2021-04-06 00:34:46.150 13346-13346/io.ionic.starter I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
2021-04-06 00:34:46.154 13346-13346/io.ionic.starter D/InputTransport: Input channel constructed: fd=58
2021-04-06 00:34:46.154 13346-13346/io.ionic.starter D/InputTransport: Input channel destroyed: fd=146
2021-04-06 00:34:46.632 13346-13346/io.ionic.starter D/Capacitor: App paused
2021-04-06 00:34:46.646 13346-13346/io.ionic.starter D/Capacitor: Saving instance state!
2021-04-06 00:34:46.656 13346-13346/io.ionic.starter D/Capacitor/App: Firing change: false
2021-04-06 00:34:46.657 13346-13346/io.ionic.starter V/Capacitor/App: Notifying listeners for event appStateChange
2021-04-06 00:34:46.657 13346-13346/io.ionic.starter D/Capacitor/App: No listeners found for event appStateChange
2021-04-06 00:34:46.658 13346-13346/io.ionic.starter D/Capacitor: App stopped
2021-04-06 00:34:52.022 13346-13346/io.ionic.starter D/ViewRootImpl@37c065b[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0

Solved. It was a problem with my hardware. Tried a different phone and it worked.

This post was flagged by the community and is temporarily hidden.