Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application closes automatically #1468

Open
javico-dev11 opened this issue Dec 5, 2024 · 11 comments
Open

Application closes automatically #1468

javico-dev11 opened this issue Dec 5, 2024 · 11 comments

Comments

@javico-dev11
Copy link

Your Environment

  • Plugin version: 4.8.1
  • Platform: Android
  • OS version: Android 13
  • Device manufacturer / model: Xiaomi-2201117TL
  • Cordova version (cordova -v): 12.0.0
  • Cordova platform version (cordova platform ls): android 10.1.2
  • Plugin config provided to #ready:

Expected Behavior

Get current location

Actual Behavior

App closes when I try to get current location

Steps to Reproduce

  1. Login
  2. Credential validation
  3. Get current coordinates/location
  4. Application crashes when trying to get current location

Context

I use the plugin to record some user's trajectory, but that depends on our server configuration. But the plugin is also used to get the current location "getCurrentLocation", for some cases and when that function is called, the app closes.
The application was working correctly with the purchased license, but since Monday this started happening.
Attached is the config.xml file:
<?xml version='1.0' encoding='utf-8'?> <widget id="com.hawkstec.app_sup.demo" version="1.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>Dworkers Supervisor</name> <description>Seguridad.</description> <author email="[email protected]" href="https://twitter.com/javico11">Javier Córdova</author> <content src="index.html" /> <access origin="*" subdomains="true" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /> <allow-intent href="tel:*" /> <allow-intent href="sms:*" /> <allow-intent href="mailto:*" /> <allow-intent href="geo:*" /> <allow-intent href="whatsapp:*" /> <preference name="android-minSdkVersion" value="21" /> <preference name="ScrollEnabled" value="false" /> <preference name="BackupWebStorage" value="none" /> <preference name="SplashMaintainAspectRatio" value="true" /> <preference name="FadeSplashScreenDuration" value="300" /> <preference name="SplashShowOnlyFirstTime" value="false" /> <preference name="SplashScreen" value="screen" /> <preference name="SplashScreenDelay" value="3000" /> <preference name="StatusBarBackgroundColor" value="#324D51" /> <preference name="StatusBarOverlaysWebView" value="true" /> <preference name="android-targetSdkVersion" value="29" /> <preference name="AndroidInsecureFileModeEnabled" value="true" /> <preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="AIzaSyBXcmBqNnotqPsuaVltlUuE6IHw_h-G2N4" /> <platform name="android"> <preference name="AndroidXEnabled" value="true" /> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:networkSecurityConfig="@xml/network_security_config" /> <application android:requestLegacyExternalStorage="true" /> </edit-config> <edit-file parent="/manifest/application" target="app/src/main/AndroidManifest.xml"> <meta-data android:name="com.transistorsoft.locationmanager.license_key" android:value="e808576c9dde4b3da540724d076129260d8e37bece79f3b020059db07e0714f9" /> </edit-file> <resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" /> <allow-intent href="market:*" /> <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" /> <icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" /> <icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" /> <icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" /> <icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" /> <icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" /> <splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" /> <splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" /> <splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" /> <splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" /> <splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" /> <splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" /> <splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" /> <splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" /> <splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" /> <splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" /> <splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" /> <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" /> </platform> <platform name="ios"> <allow-intent href="itms:*" /> <allow-intent href="itms-apps:*" /> <icon height="57" src="resources/ios/icon/icon.png" width="57" /> <icon height="114" src="resources/ios/icon/[email protected]" width="114" /> <icon height="29" src="resources/ios/icon/icon-small.png" width="29" /> <icon height="58" src="resources/ios/icon/[email protected]" width="58" /> <icon height="87" src="resources/ios/icon/[email protected]" width="87" /> <icon height="20" src="resources/ios/icon/icon-20.png" width="20" /> <icon height="40" src="resources/ios/icon/[email protected]" width="40" /> <icon height="60" src="resources/ios/icon/[email protected]" width="60" /> <icon height="48" src="resources/ios/icon/[email protected]" width="48" /> <icon height="55" src="resources/ios/icon/[email protected]" width="55" /> <icon height="29" src="resources/ios/icon/icon-29.png" width="29" /> <icon height="58" src="resources/ios/icon/[email protected]" width="58" /> <icon height="87" src="resources/ios/icon/[email protected]" width="87" /> <icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> <icon height="80" src="resources/ios/icon/[email protected]" width="80" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="88" src="resources/ios/icon/[email protected]" width="88" /> <icon height="50" src="resources/ios/icon/icon-50.png" width="50" /> <icon height="100" src="resources/ios/icon/[email protected]" width="100" /> <icon height="60" src="resources/ios/icon/icon-60.png" width="60" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="180" src="resources/ios/icon/[email protected]" width="180" /> <icon height="72" src="resources/ios/icon/icon-72.png" width="72" /> <icon height="144" src="resources/ios/icon/[email protected]" width="144" /> <icon height="76" src="resources/ios/icon/icon-76.png" width="76" /> <icon height="152" src="resources/ios/icon/[email protected]" width="152" /> <icon height="167" src="resources/ios/icon/[email protected]" width="167" /> <icon height="172" src="resources/ios/icon/[email protected]" width="172" /> <icon height="196" src="resources/ios/icon/[email protected]" width="196" /> <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /> <splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" /> <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /> <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /> <splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" /> <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" /> <splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" /> <splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" /> <splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" /> <splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" /> <splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" /> <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /> <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /> <splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" /> <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> </platform> <plugin name="cordova-plugin-whitelist" spec="1.3.3" /> <plugin name="cordova-plugin-statusbar" spec="2.4.2" /> <plugin name="cordova-plugin-device" spec="2.0.2" /> <plugin name="cordova-plugin-splashscreen" spec="5.0.2" /> <plugin name="cordova-plugin-ionic-webview" spec="^4.0.0" /> <plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" /> <allow-navigation href="http://localhost:8100" sessionid="e959e09b" /> <engine name="browser" /> </widget>

I hope you can help me verify what could have happened, greetings and thank you very much.

Debug logs

Logs
Returning zygote-cached class loader: /system/framework/android.test.base.jar
Unable to open '/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.dm': No such file or directory
Unable to open '/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.dm': No such file or directory
Configuring clns-4 for other apk /data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk. target_sdk_version=29, uses_libraries=, library_path=/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/lib/arm64:/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.hawkstec.app_sup.demo
Extending system_exposed_libraries: libbinauralrenderer_wrapper.qti.so:libhoaeffects.qti.so:libQOC.qti.so:libmisys_jni.xiaomi.so:libxiaomi_modemdumpsdx55_jni.modem.so:libxiaomi_modemdump_jni.modem.so:libupdateprof.qti.so:libthermalclient.qti.so:libQOC.qti.so:libdiag_system.qti.so:libqape.qti.so:liblistenjni.qti.so
Load libframework-connectivity-jni.so using APEX ns com_android_tethering for caller /apex/com.android.tethering/javalib/framework-connectivity.jar: ok
Connecting to perf service.
ANGLE Developer option for 'com.hawkstec.app_sup.demo' set to: 'default'
ANGLE GameManagerService for com.hawkstec.app_sup.demo: false
App is not on the allowlist for updatable production driver.
initialize for com.hawkstec.app_sup.demo , ForceDarkAppConfig: null
Load libforcedarkimpl.so using system ns (caller=/system_ext/framework/miui-framework.jar): ok
JNI_OnLoad success
setConfig density:2.750000, mainRule:0, secondaryRule:0, tertiaryRule:0
Using Network Security Config from resource network_security_config debugBuild: true
Using Network Security Config from resource network_security_config debugBuild: true
Compat change id reported: 183155436; UID 10079; state: DISABLED
Device unlocked: initializing all Firebase APIs for app [DEFAULT]
ClassLoaderContext classpath size mismatch. expected=1, found=0 (DLC[];PCL[base.apk*2455275807]{PCL[/system/framework/org.apache.http.legacy.jar*1414085461]#PCL[/system/framework/com.android.media.remotedisplay.jar*3886290638]#PCL[/system/framework/com.android.location.provider.jar*3868789109]#PCL[/system/framework/org.apache.http.legacy.jar*1414085461]} | DLC[];PCL[])
Considering local module com.google.android.gms.measurement.dynamite:51 and remote module com.google.android.gms.measurement.dynamite:132
Selected remote version of com.google.android.gms.measurement.dynamite, version >= 132
Dynamite loader version >= 2, using loadModule2NoCrashUtils
ClassLoader referenced unknown path: 
Configuring clns-5 for other apk . target_sdk_version=34, uses_libraries=, library_path=/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/lib/arm64:/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy1wYS5nb29nbGVhcGlzLmNvbS92MS9maXJlbG9nL2xlZ2FjeS9iYXRjaGxvZ1xBSXphU3lDY2traUg4aTJaQVJ3T3MxTEV6RktsZDE1YU9HOG96S28=) is already scheduled. Returning...
Upload for context TransportContext(cct, HIGHEST, MSRodHRwczovL2NyYXNobHl0aWNzcmVwb3J0cy1wYS5nb29nbGVhcGlzLmNvbS92MS9maXJlbG9nL2xlZ2FjeS9iYXRjaGxvZ1xBSXphU3lCcnBTWVQ0RkZMMDlyZUhKaTZIOUZZZGVpU25VVE92Mk0=) is already scheduled. Returning...
ClassLoaderContext classpath element checksum mismatch. expected=2455275807, found=3026235684 (DLC[];PCL[base.apk*2455275807]{PCL[/system/framework/org.apache.http.legacy.jar*1414085461]#PCL[/system/framework/com.android.media.remotedisplay.jar*3886290638]#PCL[/system/framework/com.android.location.provider.jar*3868789109]#PCL[/system/framework/org.apache.http.legacy.jar*1414085461]} | DLC[];PCL[/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk*3026235684]{PCL[/system/framework/android.test.base.jar*446567138]})
No package ID 76 found for ID 0x760b000f.
No package ID 76 found for ID 0x760b000f.
App measurement initialized, version: 110008
To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
To enable faster debug mode event logging run:
  adb shell setprop debug.firebase.analytics.app com.hawkstec.app_sup.demo
Load /data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/lib/arm64/libcrashlytics.so using ns clns-4 from class loader (caller=/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk!classes18.dex): ok
Initializing Firebase Crashlytics 18.1.0 for com.hawkstec.app_sup.demo
[FirebaseAuth:] Preparing to create service connection to fallback implementation
Initializing libcrashlytics version 3.0.0
Initializing native crash handling successful.
Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (unsupported,core-platform-api, reflection, allowed)
Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (unsupported,core-platform-api, reflection, allowed)
Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (unsupported,core-platform-api, reflection, allowed)
FirebaseApp initialization successful
Changing log level to DEBUG(3)
Apache Cordova native platform version 10.1.2 is starting
CordovaActivity.onCreate()
Access denied finding property "ro.vendor.df.effect.conflict"
Unable to open '/data/app/~~RFYDyRawyluv_oQhUodpjQ==/com.google.android.trichromelibrary_677803933-tVDpA_IDf3OEb_j6O7kixg==/base.dm': No such file or directory
Unable to open '/data/app/~~RFYDyRawyluv_oQhUodpjQ==/com.google.android.trichromelibrary_677803933-tVDpA_IDf3OEb_j6O7kixg==/base.dm': No such file or directory
Entry not found
Configuring clns-6 for other apk /data/app/~~RFYDyRawyluv_oQhUodpjQ==/com.google.android.trichromelibrary_677803933-tVDpA_IDf3OEb_j6O7kixg==/base.apk. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~Fyy6nt5ldYcOLDYX1g3zBQ==/com.google.android.webview-0L9NtjH0yN7b85yE-edhtg==/lib/arm64:/data/app/~~Fyy6nt5ldYcOLDYX1g3zBQ==/com.google.android.webview-0L9NtjH0yN7b85yE-edhtg==/base.apk!/lib/arm64-v8a:/data/app/~~RFYDyRawyluv_oQhUodpjQ==/com.google.android.trichromelibrary_677803933-tVDpA_IDf3OEb_j6O7kixg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
Extending system_exposed_libraries: libbinauralrenderer_wrapper.qti.so:libhoaeffects.qti.so:libQOC.qti.so:libmisys_jni.xiaomi.so:libxiaomi_modemdumpsdx55_jni.modem.so:libxiaomi_modemdump_jni.modem.so:libupdateprof.qti.so:libthermalclient.qti.so:libQOC.qti.so:libdiag_system.qti.so:libqape.qti.so:liblistenjni.qti.so
Configuring clns-7 for other apk /data/app/~~Fyy6nt5ldYcOLDYX1g3zBQ==/com.google.android.webview-0L9NtjH0yN7b85yE-edhtg==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~Fyy6nt5ldYcOLDYX1g3zBQ==/com.google.android.webview-0L9NtjH0yN7b85yE-edhtg==/lib/arm64:/data/app/~~Fyy6nt5ldYcOLDYX1g3zBQ==/com.google.android.webview-0L9NtjH0yN7b85yE-edhtg==/base.apk!/lib/arm64-v8a:/data/app/~~RFYDyRawyluv_oQhUodpjQ==/com.google.android.trichromelibrary_677803933-tVDpA_IDf3OEb_j6O7kixg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
Loading com.google.android.webview version 131.0.6778.39 (code 677803933)
version=131.0.6778.39 (677803933) minSdkVersion=29 isBundle=true multiprocess=true packageId=2
Load /data/app/~~RFYDyRawyluv_oQhUodpjQ==/com.google.android.trichromelibrary_677803933-tVDpA_IDf3OEb_j6O7kixg==/base.apk!/lib/arm64-v8a/libmonochrome_64.so using ns clns-7 from class loader (caller=/data/app/~~Fyy6nt5ldYcOLDYX1g3zBQ==/com.google.android.webview-0L9NtjH0yN7b85yE-edhtg==/base.apk): ok
Load /system/lib64/libwebviewchromium_plat_support.so using ns clns-7 from class loader (caller=/data/app/~~Fyy6nt5ldYcOLDYX1g3zBQ==/com.google.android.webview-0L9NtjH0yN7b85yE-edhtg==/base.apk): ok
[1205/085648.929988:INFO:variations_seed_loader.cc(68)] Failed to open file for reading.: No such file or directory (2)
Successfully loaded native library
Flushed 6 samples from 6 histograms, 0 samples were dropped.
#registerProvider() provider:WV.y8@4855ecf isPolicyCacheEnabled:false policyProvidersSize:0
#setManagerAndSource() 0
#linkNativeInternal() 1
#getApplicationRestrictionsFromUserManager() Bundle[EMPTY_PARCEL]
#notifySettingsAvailable() 0
#onSettingsAvailable() 0
#flushPolicies()
Compat change id reported: 214741472; UID 10079; state: DISABLED
Compat change id reported: 171228096; UID 10079; state: ENABLED
false
false
getWindowModeFromSystem  windowmode is 1
Ionic Web View Engine Starting Right Up 1...
Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
CordovaWebView is running on device made by: Xiaomi
Enabled insecure file access
init()
getPlugin - put: CordovaAllowListPlugin
startupPlugins: put - CallNumber
startupPlugins: put - BackgroundFetch
startupPlugins: put - BackgroundGeolocation
Unrecognized extra filesystem identifier: assets
getPlugin - put: File
startupPlugins: put - CordovaHttpPlugin
startupPlugins: put - Permissions
startupPlugins: put - ApkUpdater
getPlugin - put: AppUpdate
startupPlugins: put - AppVersion
startupPlugins: put - Device
startupPlugins: put - BackgroundMode
startupPlugins: put - BackgroundModeExt
Constructing
getPlugin - put: CameraPreview
getPlugin - put: FirebasePlugin
startupPlugins: put - Geolocation
Starting Firebase plugin
startupPlugins: put - LocalNotification
startupPlugins: put - Media
startupPlugins: put - NetworkStatus
false
false
Creating channel id=fcm_default_channel
Channel fcm_default_channel - name=Default
Channel fcm_default_channel - importance=4
Channel fcm_default_channel - description=
Channel fcm_default_channel - light=true
Channel fcm_default_channel - visibility=1
Channel fcm_default_channel - badge=true
Channel fcm_default_channel - sound=default
Channel fcm_default_channel - vibrate=true
setViewRootImplForceDark: false for com.hawkstec.app_sup.demo.MainActivity@18973fc, reason: AppDarkModeEnable
Compat change id reported: 210923482; UID 10079; state: DISABLED
Compat change id reported: 37756858; UID 10079; state: ENABLED
false
false
registerConfigChangedListener
registerConfigChangedListener
setViewRootImplForceDark: false for com.hawkstec.app_sup.demo.MainActivity@18973fc, reason: AppDarkModeEnable
getPlugin - put: SplashScreen
getPlugin - put: StatusBar
startupPlugins: put - SQLitePlugin
startupPlugins: put - BarcodeScanner
startupPlugins: put - PhotoViewer
startupPlugins: put - RareloopAppVersion
startupPlugins: put - Badge
startupPlugins: put - ForegroundPlugin
startupPlugins: put - CDVIonicKeyboard
startupPlugins: put - IonicWebView
startupPlugins: put - RequestLocationAccuracy
startupPlugins: put - CoreAndroid
>>> loadUrl(http://192.168.100.34:8100)
BLUETOOTH_CONNECT permission is missing.
getBluetoothAdapter() requires BLUETOOTH permission
registerBluetoothIntentsIfNeeded: Requires BLUETOOTH permission
PerfMonitor: Slow Operation: Activity com.hawkstec.app_sup.demo/.MainActivity onCreate took 644ms
QUALCOMM build                   : 43fc279f3a, I58833f8ed4
Build Date                       : 03/24/23
OpenGL ES Shader Compiler Version: EV031.32.02.17
Local Branch                     : 
Remote Branch                    : 
Remote Branch                    : 
Reconstruct Branch               : 
Build Config                     : S P 10.0.7 AArch64
Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
Started the activity.
PFP: 0x016ee197, ME: 0x00000000
Access denied finding property "vendor.migl.debug"
[WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
went foreground
Binding to activity: MainActivity
Setting display event component
Resumed the activity.
Forcing fetch from service rather than cache. Test Device: false | App Fresh Install: true
setViewRootImplForceDark: false for com.hawkstec.app_sup.demo.MainActivity@18973fc, reason: AppDarkModeEnable
Recoverable exception while reading cache: /data/user/0/com.hawkstec.app_sup.demo/files/fiam_impressions_store_file: open failed: ENOENT (No such file or directory)
Considering local module com.google.android.gms.tagmanager:214 and remote module com.google.android.gms.tagmanager:217
Selected remote version of com.google.android.gms.tagmanager, version >= 217
Dynamite loader version >= 2, using loadModule2NoCrashUtils
PerfMonitor looperActivity : package=com.hawkstec.app_sup.demo/.MainActivity time=808ms latency=762ms  procState=-1  historyMsgCount=1 (msgIndex=1 wall=777ms seq=3 late=20ms h=android.app.ActivityThread$H w=110)
ClassLoaderContext classpath element checksum mismatch. expected=2455275807, found=3026235684 (DLC[];PCL[base.apk*2455275807]{PCL[/system/framework/org.apache.http.legacy.jar*1414085461]#PCL[/system/framework/com.android.media.remotedisplay.jar*3886290638]#PCL[/system/framework/com.android.location.provider.jar*3868789109]#PCL[/system/framework/org.apache.http.legacy.jar*1414085461]} | DLC[];PCL[/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk*3026235684]{PCL[/system/framework/android.test.base.jar*446567138]})
PerfMonitor looperActivity : package=com.hawkstec.app_sup.demo/.MainActivity time=0ms latency=1601ms  procState=-1  historyMsgCount=2 (msgIndex=1 wall=777ms seq=3 late=20ms h=android.app.ActivityThread$H w=110) (msgIndex=2 wall=808ms seq=4 late=762ms h=android.app.ActivityThread$H w=159)
Starting InAppMessaging runtime with Installation ID eo2jeVZWSYKIRUJ73WgQJ_
Unsupported mime image/vnd.android.heic
Storing event with priority=DEFAULT, name=FIREPERF for destination cct
FramePredict init: false
Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy1wYS5nb29nbGVhcGlzLmNvbS92MS9maXJlbG9nL2xlZ2FjeS9iYXRjaGxvZ1xBSXphU3lDY2traUg4aTJaQVJ3T3MxTEV6RktsZDE1YU9HOG96S28=) is already scheduled. Returning...
Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
Configuring clns-8 for other apk /system/framework/org.apache.http.legacy.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/lib/arm64:/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
Extending system_exposed_libraries: libbinauralrenderer_wrapper.qti.so:libhoaeffects.qti.so:libQOC.qti.so:libmisys_jni.xiaomi.so:libxiaomi_modemdumpsdx55_jni.modem.so:libxiaomi_modemdump_jni.modem.so:libupdateprof.qti.so:libthermalclient.qti.so:libQOC.qti.so:libdiag_system.qti.so:libqape.qti.so:liblistenjni.qti.so
No container asset found in /assets/containers. Checking top level /assets directory for container assets.
setViewRootImplForceDark: false for com.hawkstec.app_sup.demo.MainActivity@18973fc, reason: AppDarkModeEnable
vri.reportNextDraw android.view.ViewRootImpl.performTraversals:4013 android.view.ViewRootImpl.doTraversal:2725 android.view.ViewRootImpl$TraversalRunnable.run:9812 android.view.Choreographer$CallbackRecord.run:1505 android.view.Choreographer$CallbackRecord.run:1513 
vri.Setup new sync id=0 syncSeqId=0
Configuring clns-9 for other apk /system/framework/com.android.media.remotedisplay.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/lib/arm64:/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
Extending system_exposed_libraries: libbinauralrenderer_wrapper.qti.so:libhoaeffects.qti.so:libQOC.qti.so:libmisys_jni.xiaomi.so:libxiaomi_modemdumpsdx55_jni.modem.so:libxiaomi_modemdump_jni.modem.so:libupdateprof.qti.so:libthermalclient.qti.so:libQOC.qti.so:libdiag_system.qti.so:libqape.qti.so:liblistenjni.qti.so
pre_cache appList: com.miui.weather2,com.android.settings,com.android.thememanager,com.mi.android.globalFileexplorer,com.miui.gallery,com.miui.notes,com.miui.player,com.miui.calculator,com.miui.videoplayer,com.miui.securitycenter
Loading /data/misc/apexdata/com.android.art/dalvik-cache/arm64/system@[email protected]@classes.odex non-executable as it requires an image which we failed to load
Configuring clns-10 for other apk /system/framework/com.android.location.provider.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/lib/arm64:/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
Extending system_exposed_libraries: libbinauralrenderer_wrapper.qti.so:libhoaeffects.qti.so:libQOC.qti.so:libmisys_jni.xiaomi.so:libxiaomi_modemdumpsdx55_jni.modem.so:libxiaomi_modemdump_jni.modem.so:libupdateprof.qti.so:libthermalclient.qti.so:libQOC.qti.so:libdiag_system.qti.so:libqape.qti.so:liblistenjni.qti.so
MiuiProcessManagerServiceStub setSchedFifo
setSchedFifo pid:23663, mode:3
Configuring clns-11 for other apk /data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/lib/arm64:/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
Failed to report request stats: com.google.android.gms.common.security.ProviderInstallerImpl.reportRequestStats [class android.content.Context, long, long]
fail to open node: No such file or directory
pre_cache appList: com.miui.weather2,com.android.settings,com.android.thememanager,com.mi.android.globalFileexplorer,com.miui.gallery,com.miui.notes,com.miui.player,com.miui.calculator,com.miui.videoplayer,com.miui.securitycenter
Tag Manager's event handler WILL NOT be installed (no container loaded)
Tag Manager initialization took 106ms
Session creation failed, mPreferredRateNanos: -1
Load /data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/base.apk!/lib/arm64-v8a/libconscrypt_gmscore_jni.so using ns clns-11 from class loader (caller=/data/app/~~GTcZmSTMRY3cZH-CxmFBCg==/com.google.android.gms-tgz3imPvfZDGzPzbuvroZQ==/base.apk!classes3.dex): ok
Registering com/google/android/gms/org/conscrypt/NativeCrypto's 305 native methods...
Accessing hidden method Ldalvik/system/VMStack;->getStackClass2()Ljava/lang/Class; (unsupported, reflection, allowed)
setViewRootImplForceDark: false for com.hawkstec.app_sup.demo.MainActivity@18973fc, reason: AppDarkModeEnable
vri.reportNextDraw android.view.ViewRootImpl.performTraversals:4013 android.view.ViewRootImpl.doTraversal:2725 android.view.ViewRootImpl$TraversalRunnable.run:9812 android.view.Choreographer$CallbackRecord.run:1505 android.view.Choreographer$CallbackRecord.run:1513 
vri.Setup new sync id=0 syncSeqId=0
Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (unsupported, reflection, allowed)
Session creation failed, mPreferredRateNanos: -1
Compat change id reported: 193247900; UID 10079; state: DISABLED
vri.reportNextDraw android.view.ViewRootImpl.performTraversals:4013 android.view.ViewRootImpl.doTraversal:2725 android.view.ViewRootImpl$TraversalRunnable.run:9812 android.view.Choreographer$CallbackRecord.run:1505 android.view.Choreographer$CallbackRecord.run:1513 
vri.Setup new sync id=0 syncSeqId=0
Installed default security provider GmsCore_OpenSSL
Session creation failed, mPreferredRateNanos: -1
PerfMonitor doFrame : time=394ms vsyncFrame=0 latency=284ms procState=-1 historyMsgCount=26 (msgIndex=1 wall=808ms seq=4 late=762ms h=android.app.ActivityThread$H w=159)
Accessing hidden field Landroid/content/pm/ApplicationInfo;->primaryCpuAbi:Ljava/lang/String; (unsupported, reflection, allowed)
vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:4081 android.view.ViewRootImpl$$ExternalSyntheticLambda2.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 
vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:4081 android.view.ViewRootImpl$$ExternalSyntheticLambda2.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 
vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:4081 android.view.ViewRootImpl$$ExternalSyntheticLambda2.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 
Skipped 44 frames!  The application may be doing too much work on its main thread.
Fetching campaigns from service.
Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
PerfMonitor doFrame : time=9ms vsyncFrame=0 latency=489ms procState=-1 historyMsgCount=31
vri.reportNextDraw android.view.ViewRootImpl.handleResized:2083 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:6167 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6136 android.os.Handler.dispatchMessage:106 
onPageDidNavigate(http://192.168.100.34:8100/)
postMessage: onPageStarted
Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
Failed to report request stats: com.google.android.gms.common.security.ProviderInstallerImpl.reportRequestStats [class android.content.Context, long, long]
vri.Setup new sync id=1 syncSeqId=0
Failed to get service from broker. 
java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'.
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
	at android.os.Parcel.createException(Parcel.java:2995)
	at android.os.Parcel.readException(Parcel.java:2978)
	at android.os.Parcel.readException(Parcel.java:2920)
	at anrz.a(:com.google.android.gms@[email protected] (190400-699197446):36)
	at anqg.z(:com.google.android.gms@[email protected] (190400-699197446):143)
	at amxn.run(:com.google.android.gms@[email protected] (190400-699197446):54)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at btul.mA(:com.google.android.gms@[email protected] (190400-699197446):1)
	at btul.dispatchMessage(:com.google.android.gms@[email protected] (190400-699197446):5)
	at android.os.Looper.loopOnce(Looper.java:211)
	at android.os.Looper.loop(Looper.java:300)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Making request to: https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/batchlog
vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:4081 android.view.ViewRootImpl$$ExternalSyntheticLambda2.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 
Failed to register com.google.android.gms.providerinstaller#com.google.android.gms
elvi: 17: 17: API: Phenotype.API is not available on this device. Connection failed with: ConnectionResult{statusCode=DEVELOPER_ERROR, resolution=null, message=null}
	at elvk.a(:com.google.android.gms@[email protected] (190400-699197446):13)
	at ffdw.d(:com.google.android.gms@[email protected] (190400-699197446):3)
	at ffdy.run(:com.google.android.gms@[email protected] (190400-699197446):130)
	at fffr.execute(:com.google.android.gms@[email protected] (190400-699197446):1)
	at ffdz.h(:com.google.android.gms@[email protected] (190400-699197446):1)
	at ffdz.l(:com.google.android.gms@[email protected] (190400-699197446):101)
	at ffdz.p(:com.google.android.gms@[email protected] (190400-699197446):19)
	at edyc.hD(:com.google.android.gms@[email protected] (190400-699197446):35)
	at dtiv.run(:com.google.android.gms@[email protected] (190400-699197446):14)
	at fffr.execute(:com.google.android.gms@[email protected] (190400-699197446):1)
	at dtiw.b(:com.google.android.gms@[email protected] (190400-699197446):18)
	at dtjl.b(:com.google.android.gms@[email protected] (190400-699197446):36)
	at dtjn.c(:com.google.android.gms@[email protected] (190400-699197446):26)
	at amuv.c(:com.google.android.gms@[email protected] (190400-699197446):9)
	at amxl.q(:com.google.android.gms@[email protected] (190400-699197446):48)
	at amxl.d(:com.google.android.gms@[email protected] (190400-699197446):10)
	at amxl.g(:com.google.android.gms@[email protected] (190400-699197446):211)
	at amxl.onConnectionFailed(:com.google.android.gms@[email protected] (190400-699197446):2)
	at amxn.run(:com.google.android.gms@[email protected] (190400-699197446):82)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at btul.mA(:com.google.android.gms@[email protected] (190400-699197446):1)
	at btul.dispatchMessage(:com.google.android.gms@[email protected] (190400-699197446):5)
	at android.os.Looper.loopOnce(Looper.java:211)
	at android.os.Looper.loop(Looper.java:300)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: amtn: 17: API: Phenotype.API is not available on this device. Connection failed with: ConnectionResult{statusCode=DEVELOPER_ERROR, resolution=null, message=null}
	at anps.a(:com.google.android.gms@[email protected] (190400-699197446):15)
	at amuy.a(:com.google.android.gms@[email protected] (190400-699197446):1)
	at amuv.c(:com.google.android.gms@[email protected] (190400-699197446):5)
	at amxl.q(:com.google.android.gms@[email protected] (190400-699197446):48) 
	at amxl.d(:com.google.android.gms@[email protected] (190400-699197446):10) 
	at amxl.g(:com.google.android.gms@[email protected] (190400-699197446):211) 
	at amxl.onConnectionFailed(:com.google.android.gms@[email protected] (190400-699197446):2) 
	at amxn.run(:com.google.android.gms@[email protected] (190400-699197446):82) 
	at android.os.Handler.handleCallback(Handler.java:942) 
	at android.os.Handler.dispatchMessage(Handler.java:99) 
	at btul.mA(:com.google.android.gms@[email protected] (190400-699197446):1) 
	at btul.dispatchMessage(:com.google.android.gms@[email protected] (190400-699197446):5) 
	at android.os.Looper.loopOnce(Looper.java:211) 
	at android.os.Looper.loop(Looper.java:300) 
	at android.os.HandlerThread.run(HandlerThread.java:67) 
onWindowFocusChanged hasWindowFocus true
QueueBuffer time out on com.hawkstec.app_sup.demo/com.hawkstec.app_sup.demo.MainActivity, count=1, avg=13 ms, max=13 ms.
tagSocket(228) with statsTag=0xffffffff, statsUid=-1
Accessing hidden field Ljava/net/Socket;->impl:Ljava/net/SocketImpl; (unsupported, reflection, allowed)
Set native->JS mode to EvalBridgeMode
Accessing hidden method Ljava/security/spec/ECParameterSpec;->setCurveName(Ljava/lang/String;)V (unsupported, reflection, allowed)
DequeueBuffer time out on com.hawkstec.app_sup.demo/com.hawkstec.app_sup.demo.MainActivity, count=1, avg=14 ms, max=14 ms.
tagSocket(275) with statsTag=0xffffffff, statsUid=-1
[INFO:CONSOLE(1)] "
It looks like you're using the development build of the Firebase JS SDK.
When deploying Firebase apps to production, it is advisable to only import
the individual SDK components you intend to use.

For the module builds, these are available in the following manner
(replace <PACKAGE> with the name of a component - i.e. auth, database, etc):

CommonJS Modules:
const firebase = require('firebase/app');
require('firebase/<PACKAGE>');

ES Modules:
import firebase from 'firebase/app';
import 'firebase/<PACKAGE>';

Typescript:
import firebase from 'firebase/app';
import 'firebase/<PACKAGE>';
", source: http://192.168.100.34:8100/main.js (1)
[INFO:CONSOLE(1)] "ngOnInit", source: http://192.168.100.34:8100/main.js (1)
Service fetch error: PERMISSION_DENIED: Firebase In-App Messaging API has not been used in project 294277496232 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/firebaseinappmessaging.googleapis.com/overview?project=294277496232 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
getPlugin - put: CoreAndroid
postMessage: spinner
getPlugin - put: RareloopAppVersion
getPlugin - put: Device
Checking if platform supports badge counters, attempt 1/3.
Checking if platform supports badge counters, attempt 2/3.
Checking if platform supports badge counters, attempt 3/3.
Badge counter seems not supported for this platform: unable to resolve intent: Intent { act=android.intent.action.BADGE_COUNT_UPDATE (has extras) }
getPlugin - put: Badge
getPlugin - put: CDVIonicKeyboard
getPlugin - put: Media
Compiler allocated 5006KB to compile void android.view.ViewRootImpl.performTraversals()
getPlugin - put: NetworkStatus
toLower : wifi
Connection Type: wifi
toLower : wifi
Connection Type: wifi
postMessage: networkconnection
getPlugin - put: BackgroundMode
getPlugin - put: LocalNotification
[INFO:CONSOLE(1)] "Ionic Native: deviceready event fired after 420 ms", source: http://192.168.100.34:8100/main.js (1)
[INFO:CONSOLE(1)] "Ionic Native: deviceready event fired after 391 ms", source: http://192.168.100.34:8100/main.js (1)
getPlugin - put: Permissions
[INFO:CONSOLE(1)] "Paso ocultando el splash!", source: http://192.168.100.34:8100/main.js (1)
getPlugin - put: SQLitePlugin
getWindowModeFromSystem  windowmode is 1
updateDecorCaptionStatus windowMode is 1
Android db implementation: built-in android.database.sqlite package
Open sqlite db: /data/user/0/com.hawkstec.app_sup.demo/databases/_ionicstorage
[INFO:CONSOLE(175)] "OPEN database: _ionicstorage", source: http://192.168.100.34:8100/plugins/cordova-sqlite-storage/www/SQLitePlugin.js (175)
[INFO:CONSOLE(106)] "new transaction is queued, waiting for open operation to finish", source: http://192.168.100.34:8100/plugins/cordova-sqlite-storage/www/SQLitePlugin.js (106)
Load /data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/lib/arm64/libsqlc-ndk-native-driver.so using ns clns-4 from class loader (caller=/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk!classes18.dex): ok
[INFO:CONSOLE(1)] "[WDS] Live Reloading enabled.", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[WDS] Warnings while compiling.", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(1)] "[object Object]", source: http://192.168.100.34:8100/polyfills.js (1)
[INFO:CONSOLE(179)] "OPEN database: _ionicstorage - OK", source: http://192.168.100.34:8100/plugins/cordova-sqlite-storage/www/SQLitePlugin.js (179)
[INFO:CONSOLE(80)] "DB opened: _ionicstorage", source: http://192.168.100.34:8100/plugins/cordova-sqlite-storage/www/SQLitePlugin.js (80)
WARNING: Back Button Default Behavior will be overridden.  The backbutton event will be fired!
[INFO:CONSOLE(1)] "AuthGuard", source: http://192.168.100.34:8100/main.js (1)
[INFO:CONSOLE(1)] "storage ready", source: http://192.168.100.34:8100/main.js (1)
onPageFinished(http://192.168.100.34:8100/)
postMessage: onPageFinished
[INFO:CONSOLE(1)] "isLoggin null", source: http://192.168.100.34:8100/main.js (1)
[INFO:CONSOLE(1)] "No Session", source: http://192.168.100.34:8100/main.js (1)
[INFO:CONSOLE(1)] "UserLogged from authguard null", source: http://192.168.100.34:8100/main.js (1)
getPlugin - put: AppVersion
MiuiMagicPointerUtilsStubHeadImpl has been initialized !!
onWindowFocusChanged hasWindowFocus true
refreshLastKeyboardType: 1
getCurrentKeyboardType: 1
getCurrentKeyboardType: 1
onWindowFocusChanged hasWindowFocus true
refreshLastKeyboardType: 1
getCurrentKeyboardType: 1
Status Code: 200
Content-Type: application/json; charset=UTF-8
Content-Encoding: gzip
Making request to: https://crashlyticsreports-pa.googleapis.com/v1/firelog/legacy/batchlog
tagSocket(178) with statsTag=0xffffffff, statsUid=-1
postMessage: splashscreen
Status Code: 200
Content-Type: application/json; charset=UTF-8
Content-Encoding: gzip
this model don't Support
Accessing hidden method Landroid/view/MotionEvent;->getEventTimeNano()J (unsupported, reflection, allowed)
refreshLastKeyboardType: 1
getCurrentKeyboardType: 1
getCurrentKeyboardType: 1
showSoftInput() view=org.apache.cordova.engine.SystemWebView{1085c05 VFEDH.C.. .F...... 0,0-1080,2263 #64 aid=1073741825} flags=0 reason=SHOW_SOFT_INPUT
OnBackInvokedCallback is not enabled for the application.
Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
show(ime(), fromIme=true)
DequeueBuffer time out on com.hawkstec.app_sup.demo/com.hawkstec.app_sup.demo.MainActivity, count=6, avg=10 ms, max=15 ms.
Failed to get service from broker. 
java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'.
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
	at android.os.Parcel.createException(Parcel.java:2995)
	at android.os.Parcel.readException(Parcel.java:2978)
	at android.os.Parcel.readException(Parcel.java:2920)
	at anrz.a(:com.google.android.gms@[email protected] (190400-699197446):36)
	at anqg.z(:com.google.android.gms@[email protected] (190400-699197446):143)
	at amxn.run(:com.google.android.gms@[email protected] (190400-699197446):54)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at btul.mA(:com.google.android.gms@[email protected] (190400-699197446):1)
	at btul.dispatchMessage(:com.google.android.gms@[email protected] (190400-699197446):5)
	at android.os.Looper.loopOnce(Looper.java:211)
	at android.os.Looper.loop(Looper.java:300)
	at android.os.HandlerThread.run(HandlerThread.java:67)
DequeueBuffer time out on com.hawkstec.app_sup.demo/com.hawkstec.app_sup.demo.MainActivity, count=1, avg=11 ms, max=11 ms.
showSoftInput() view=org.apache.cordova.engine.SystemWebView{1085c05 VFEDH.C.. .F...... 0,0-1080,1474 #64 aid=1073741825} flags=0 reason=SHOW_SOFT_INPUT
show(ime(), fromIme=true)
getCurrentKeyboardType: 1
showSoftInput() view=org.apache.cordova.engine.SystemWebView{1085c05 VFEDH.C.. .F...... 0,0-1080,1474 #64 aid=1073741825} flags=0 reason=SHOW_SOFT_INPUT
show(ime(), fromIme=true)
show(ime(), fromIme=true)
[KeyEvent] ViewRootImpl windowName 'com.hawkstec.app_sup.demo/com.hawkstec.app_sup.demo.MainActivity', KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=264447679000000, downTime=264447679000000, deviceId=-1, source=0x101, displayId=0 }, phoneEventTime=08:57:26.243
[KeyEvent] ViewRootImpl windowName 'com.hawkstec.app_sup.demo/com.hawkstec.app_sup.demo.MainActivity', KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=264447741000000, downTime=264447679000000, deviceId=-1, source=0x101, displayId=0 }, phoneEventTime=08:57:26.305
getCurrentKeyboardType: 1
getPlugin - put: CordovaHttpPlugin
DequeueBuffer time out on com.hawkstec.app_sup.demo/com.hawkstec.app_sup.demo.MainActivity, count=8, avg=10 ms, max=13 ms.
tagSocket(174) with statsTag=0xffffffff, statsUid=-1
Accessing hidden method Landroid/app/AppGlobals;->getInitialApplication()Landroid/app/Application; (unsupported, reflection, allowed)
FATAL EXCEPTION: AsyncTask #1
Process: com.hawkstec.app_sup.demo, PID: 23663
java.lang.RuntimeException: An error occurred while executing doInBackground()
	at android.os.AsyncTask$4.done(AsyncTask.java:415)
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381)
	at java.util.concurrent.FutureTask.setException(FutureTask.java:250)
	at java.util.concurrent.FutureTask.run(FutureTask.java:269)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/DefaultLifecycleObserver;
	at com.transistorsoft.locationmanager.logger.TSLog.initialize(Unknown Source:11)
	at com.transistorsoft.locationmanager.adapter.TSConfig.load(Unknown Source:290)
	at com.transistorsoft.locationmanager.adapter.TSConfig.<init>(Unknown Source:68)
	at com.transistorsoft.locationmanager.adapter.TSConfig.a(Unknown Source:9)
	at com.transistorsoft.locationmanager.adapter.TSConfig.getInstance(Unknown Source:14)
	at com.transistorsoft.cordova.bggeo.CDVBackgroundGeolocation.initializeLocationManager(CDVBackgroundGeolocation.java:116)
	at com.transistorsoft.cordova.bggeo.CDVBackgroundGeolocation.pluginInitialize(CDVBackgroundGeolocation.java:110)
	at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
	at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:185)
	at org.apache.cordova.PluginManager.exec(PluginManager.java:136)
	at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
	at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:341)
	at android.os.Looper.loopOnce(Looper.java:169)
	at android.os.Looper.loop(Looper.java:300)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.lifecycle.DefaultLifecycleObserver" on path: DexPathList[[zip file "/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk"],nativeLibraryDirectories=[/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/lib/arm64, /data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
	at com.transistorsoft.locationmanager.logger.TSLog.initialize(Unknown Source:11) 
	at com.transistorsoft.locationmanager.adapter.TSConfig.load(Unknown Source:290) 
	at com.transistorsoft.locationmanager.adapter.TSConfig.<init>(Unknown Source:68) 
	at com.transistorsoft.locationmanager.adapter.TSConfig.a(Unknown Source:9) 
	at com.transistorsoft.locationmanager.adapter.TSConfig.getInstance(Unknown Source:14) 
	at com.transistorsoft.cordova.bggeo.CDVBackgroundGeolocation.initializeLocationManager(CDVBackgroundGeolocation.java:116) 
	at com.transistorsoft.cordova.bggeo.CDVBackgroundGeolocation.pluginInitialize(CDVBackgroundGeolocation.java:110) 
	at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58) 
	at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:185) 
	at org.apache.cordova.PluginManager.exec(PluginManager.java:136) 
	at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59) 
	at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41) 
	at android.os.MessageQueue.nativePollOnce(Native Method) 
	at android.os.MessageQueue.next(MessageQueue.java:341) 
	at android.os.Looper.loopOnce(Looper.java:169) 
	at android.os.Looper.loop(Looper.java:300) 
	at android.os.HandlerThread.run(HandlerThread.java:67) 
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/DefaultLifecycleObserver;
	at com.transistorsoft.locationmanager.logger.TSLog.initialize(Unknown Source:11)
	at com.transistorsoft.locationmanager.adapter.TSConfig.load(Unknown Source:290)
	at com.transistorsoft.locationmanager.adapter.TSConfig.<init>(Unknown Source:68)
	at com.transistorsoft.locationmanager.adapter.TSConfig.a(Unknown Source:9)
	at com.transistorsoft.locationmanager.adapter.TSConfig.getInstance(Unknown Source:14)
	at com.transistorsoft.cordova.bggeo.CDVBackgroundGeolocation.initializeLocationManager(CDVBackgroundGeolocation.java:116)
	at com.transistorsoft.cordova.bggeo.CDVBackgroundGeolocation.pluginInitialize(CDVBackgroundGeolocation.java:110)
	at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
	at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:185)
	at org.apache.cordova.PluginManager.exec(PluginManager.java:136)
	at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
	at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:341)
	at android.os.Looper.loopOnce(Looper.java:169)
	at android.os.Looper.loop(Looper.java:300)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.lifecycle.DefaultLifecycleObserver" on path: DexPathList[[zip file "/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk"],nativeLibraryDirectories=[/data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/lib/arm64, /data/app/~~AXR_blJjbXwgfbCsznqgPQ==/com.hawkstec.app_sup.demo-tCSY_NW0p5xHmraAjwbOdw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
	... 17 more
[c.t.l.logger.LoggerFacade$a a] 
╔═════════════════════════════════════════════
║ TSLocationManager version: 3.2.1 (407)
╠═════════════════════════════════════════════
╟─ Xiaomi 2201117TL @ 13 (cordova)
{
  "activityRecognitionInterval": 10000,
  "allowIdenticalLocations": false,
  "authorization": {},
  "autoSync": true,
  "autoSyncThreshold": 1,
  "backgroundPermissionRationale": {
    "title": "Permita que {applicationName} acceda a la ubicación de este dispositivo incluso cuando esté cerrado o no esté en uso.",
    "message": "Esta aplicación recopila datos de ubicación para permitir el registro de sus viajes y calcular las distancias recorridas.",
    "positiveAction": "Cambiar a \"{backgroundPermissionOptionLabel}\"",
    "negativeAction": "Cancelar"
  },
  "batchSync": false,
  "configUrl": "",
  "debug": false,
  "deferTime": 0,
  "desiredAccuracy": -1,
  "desiredOdometerAccuracy": 100,
  "disableAutoSyncOnCellular": false,
  "disableElasticity": false,
  "disableLocationAuthorizationAlert": false,
  "disableMotionActivityUpdates": false,
  "disableStopDetection": false,
  "distanceFilter": 50,
  "elasticityMultiplier": 1,
  "enableHeadless": false,
  "enableTimestampMeta": false,
  "extras": {
    "codigoUsuario": 5,
    "codigoPuntoControl": 3,
    "tipo": 0,
    "currentPosition": false
  },
  "fastestLocationUpdateInterval": -1,
  "foregroundService": true,
  "geofenceInitialTriggerEntry": true,
  "geofenceModeHighAccuracy": false,
  "geofenceProximityRadius": 1000,
  "geofenceTemplate": "",
  "headers": {},
  "headlessJobService": "com.transistorsoft.cordova.bggeo.BackgroundGeolocationHeadlessTask",
  "heartbeatInterval": 60,
  "httpRootProperty": "location",
  "httpTimeout": 60000,
  "isMoving": false,
  "locationAuthorizationRequest": "Always",
  "locationTemplate": "",
  "locationTimeout": 60,
  "locationUpdateInterval": 1000,
  "locationsOrderDirection": "ASC",
  "logLevel": 5,
  "logMaxDays": 3,
  "maxBatchSize": -1,
  "maxDaysToPersist": 1,
  "maxRecordsToPersist": -1,
  "method": "POST",
  "minimumActivityRecognitionConfidence": 75,
  "motionTriggerDelay": 0,
  "notification": {
    "layout": "",
    "title": "Hawks Service",
    "text": "Trabajando por su seguridad...",
    "color": "",
    "channelName": "TSLocationManager",
    "smallIcon": "",
    "largeIcon": "",
    "priority": 0,
    "sticky": false,
    "strings": {},
    "actions": []
  },
  "params": {},
  "persist": true,
  "persistMode": 2,
  "schedule": [],
  "scheduleUseAlarmManager": false,
  "speedJumpFilter": 300,
  "startOnBoot": true,
  "stationaryRadius": 25,
  "stopAfterElapsedMinutes": 0,
  "stopOnStationary": false,
  "stopOnTerminate": false,
  "stopTimeout": 1,
  "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
  "url": "https:\/\/api-coresecurity.azurewebsites.net\/api\/CreateRutaUsuarioJson",
  "useSignificantChangesOnly": false,
  "enabled": false,
  "schedulerEnabled": false,
  "trackingMode": 1,
  "odometer": 0,
  "isFirstBoot": false,
  "didLaunchInBackground": false,
  "didDeviceReboot": false
}
[c.t.l.logger.LoggerFacade$a a] 
╔═════════════════════════════════════════════
║ DEVICE SENSORS
╠═════════════════════════════════════════════
╟─ ✅  ACCELEROMETER: {Sensor name="icm4x6xx Accelerometer Non-wakeup", vendor="TDK-Invensense", version=260, type=1, maxRange=156.9064, resolution=0.0047884034, power=0.24, minDelay=2500}
╟─ ✅  GYROSCOPE: {Sensor name="icm4x6xx Gyroscope Non-wakeup", vendor="TDK-Invensense", version=260, type=4, maxRange=34.90656, resolution=0.0010652636, power=0.57, minDelay=2500}
╟─ ✅  MAGNETOMETER: {Sensor name="ak0991x Magnetometer Non-wakeup", vendor="akm", version=146966, type=2, maxRange=4912.0503, resolution=0.15, power=1.1, minDelay=10000}
╟─ ✅  SIGNIFICANT_MOTION: {Sensor name="sns_smd  Wakeup", vendor="qualcomm", version=1, type=17, maxRange=1.0, resolution=1.0, power=0.025, minDelay=-1}
╚═════════════════════════════════════════════
Initializing libcrashlytics version 3.0.0
Initializing native crash handling successful.
Storing event with priority=HIGHEST, name=FIREBASE_CRASHLYTICS_REPORT for destination cct
Scheduling upload for context TransportContext(cct, HIGHEST, MSRodHRwczovL2NyYXNobHl0aWNzcmVwb3J0cy1wYS5nb29nbGVhcGlzLmNvbS92MS9maXJlbG9nL2xlZ2FjeS9iYXRjaGxvZ1xBSXphU3lCcnBTWVQ0RkZMMDlyZUhKaTZIOUZZZGVpU25VVE92Mk0=) with jobId=-91540534 in 1000ms(Backend next call timestamp 1733407044630). Attempt 1
Compat change id reported: 194532703; UID 10079; state: DISABLED
type=1400 audit(0.0:577310): avc: denied { search } for comm=4173796E635461736B202331 name="miuilog" dev="dm-40" ino=429996 scontext=u:r:untrusted_app_29:s0:c79,c256,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.hawkstec.app_sup.demo
Failed to mkdir /data/miuilog/stability/memleak/heapdump/
type=1400 audit(0.0:577311): avc: denied { search } for comm=4173796E635461736B202331 name="miuilog" dev="dm-40" ino=429996 scontext=u:r:untrusted_app_29:s0:c79,c256,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.hawkstec.app_sup.demo
type=1400 audit(0.0:577312): avc: denied { search } for comm=4173796E635461736B202331 name="miuilog" dev="dm-40" ino=429996 scontext=u:r:untrusted_app_29:s0:c79,c256,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.hawkstec.app_sup.demo
type=1400 audit(0.0:577313): avc: denied { search } for comm=4173796E635461736B202331 name="miuilog" dev="dm-40" ino=429996 scontext=u:r:untrusted_app_29:s0:c79,c256,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.hawkstec.app_sup.demo
type=1400 audit(0.0:577314): avc: denied { search } for comm=4173796E635461736B202331 name="miuilog" dev="dm-40" ino=429996 scontext=u:r:untrusted_app_29:s0:c79,c256,c512,c768 tcontext=u:object_r:data_log_file:s0 tclass=dir permissive=0 app=com.hawkstec.app_sup.demo
Process is going to kill itself!
java.lang.Exception
	at android.os.Process.killProcess(Process.java:1344)
	at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:174)
	at com.google.firebase.crashlytics.internal.common.CrashlyticsUncaughtExceptionHandler.uncaughtException(CrashlyticsUncaughtExceptionHandler.java:60)
	at org.chromium.base.JavaExceptionReporter.uncaughtException(chromium-TrichromeWebViewGoogle6432.aab-stable-677803933:32)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1071)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1066)
	at java.lang.Thread.dispatchUncaughtException(Thread.java:2306)
Sending signal. PID: 23663 SIG: 9
---------------------------- PROCESS ENDED (23663) for package com.hawkstec.app_sup.demo ----------------------------

@christocracy
Copy link
Member

Plugin version: 4.8.1

The latest version is 4.17.3

@christocracy
Copy link
Member

see CHANGELOG

@javico-dev11
Copy link
Author

Thank you for your kind reply, what would be the appropriate solution to solve the problem, update the plugin?

@christocracy
Copy link
Member

Start by installing the latest version.

@javico-dev11
Copy link
Author

For now we no longer have access to the private repository

@christocracy
Copy link
Member

See the README in this repo for installation instructions.

@javico-dev11
Copy link
Author

Recommend to install this version: cordova plugin add https://github.com/transistorsoft/cordova-background-geolocation-lt.git
Would there be a conflict with the current license?

@christocracy
Copy link
Member

Why don't you read the README and pretend you're installing the plugin for the first time ever?

@javico-dev11
Copy link
Author

but could you be a little more specific please, in the README file it only talks about the "lt" version

@christocracy
Copy link
Member

in the README file it only talks about the "lt" version

So be it. Follow the instructions exactly. If you currently have the private version installed, uninstall it first.

@javico-dev11
Copy link
Author

javico-dev11 commented Dec 11, 2024

Good afternoon, sorry for the delay, I have already uninstalled the private version and installed the lt version, when calling the function: BackgroundGeolocation.getCurrentPosition(), I get the message: Cannot read properties of undefined (reading 'getCurrentPosition')
I also changed the import:

//import BackgroundGeolocation from 'cordova-background-geolocation';
import BackgroundGeolocation from 'cordova-background-geolocation-lt';

I compile the application again and the same thing happens, when calling the event: "getCurrentLocation" the app closes automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants