Closed KhumboLihonga closed 2 years ago
09/27 15:57:14: Launching 'quest' on samsung SM-A127F.
Install successfully finished in 942 ms.
$ adb shell am start -n "org.smartregister.fhircore.mwcore/org.smartregister.fhircore.engine.ui.appsetting.AppSettingActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 10507 on device 'samsung-sm_a127f-RZ8R916JGLF'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/fhircore.mwcor: Late-enabling -Xcheck:jni
E/USNET: USNET: appName: org.smartregister.fhircore.mwcore
D/ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
D/ActivityThread: setConscryptValidator
D/ActivityThread: setConscryptValidator - put
V/studio.deploy: Startup agent attached to VM
V/studio.deploy: No existing instrumentation found. Loading instrumentation from instruments-1f2f27f8.jar
W/fhircore.mwcor: DexFile /data/data/org.smartregister.fhircore.mwcore/code_cache/.studio/instruments-1f2f27f8.jar is in boot class path but is not in a known location
V/studio.deploy: ModifyParameterTransform failed: Landroid/app/ApplicationLoaders;
W/fhircore.mwcor: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/fhircore.mwcor: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/fhircore.mwcor: Redefining intrinsic method java.lang.Thread java.lang.Thread.currentThread(). This may cause the unexpected use of the original definition of java.lang.Thread java.lang.Thread.currentThread()in methods that have already been compiled.
W/fhircore.mwcor: Redefining intrinsic method boolean java.lang.Thread.interrupted(). This may cause the unexpected use of the original definition of boolean java.lang.Thread.interrupted()in methods that have already been compiled.
W/fhircore.mwcor: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/fhircore.mwcor: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
W/fhircore.mwcor: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
D/ActivityThread: handleBindApplication()++ app=org.smartregister.fhircore.mwcore
D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10484; state: ENABLED
W/System: A resource failed to call close.
V/GraphicsEnvironment: ANGLE Developer option for 'org.smartregister.fhircore.mwcore' set to: 'default'
V/GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
D/LoadedApk: LoadedApk::makeApplication() appContext.mOpPackageName=org.smartregister.fhircore.mwcore appContext.mBasePackageName=org.smartregister.fhircore.mwcore
D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true
D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true
D/WM-WrkMgrInitializer: Initializing WorkManager with default configuration.
D/ActivityThread: handleBindApplication() --
D/CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10484; state: ENABLED
W/AndroidKeysetManager: keyset not found, will generate a new one
java.io.FileNotFoundException: can't read keyset; the pref value androidx_security_crypto_encrypted_prefs_key_keyset does not exist
at com.google.crypto.tink.integration.android.SharedPrefKeysetReader.readPref(SharedPrefKeysetReader.java:71)
at com.google.crypto.tink.integration.android.SharedPrefKeysetReader.readEncrypted(SharedPrefKeysetReader.java:89)
at com.google.crypto.tink.KeysetHandle.read(KeysetHandle.java:105)
at com.google.crypto.tink.integration.android.AndroidKeysetManager$Builder.read(AndroidKeysetManager.java:311)
at com.google.crypto.tink.integration.android.AndroidKeysetManager$Builder.readOrGenerateNewKeyset(AndroidKeysetManager.java:287)
at com.google.crypto.tink.integration.android.AndroidKeysetManager$Builder.build(AndroidKeysetManager.java:238)
at androidx.security.crypto.EncryptedSharedPreferences.create(EncryptedSharedPreferences.java:155)
at androidx.security.crypto.EncryptedSharedPreferences.create(EncryptedSharedPreferences.java:120)
at org.smartregister.fhircore.engine.util.SecureSharedPreference.
Describe the bug On a fresh install of the app, there is a sync overlay that is intended to prevent the user from performing any action before the sync is completed. However, once the sync is completed, the overlay persists and the user cannot use the app.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the overlay to disappear once the sync is finished.
Screenshots https://user-images.githubusercontent.com/90775548/192569258-51552469-fb54-4a82-89a7-0b3a2179568a.mp4
Smartphone (please complete the following information):
Additional context N/A