We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: Not used EncryptedSharedPreferences in my project and find below code as using
This code on ViewModelClass
init { viewModelScope.launch(Dispatchers.Main) { val userInfo = dataStoreUseCase.getUserInfo().first() ZohoSalesIQ.registerVisitor(userInfo.email?.trim()) ZohoSalesIQ.Visitor.setName( String.format( "%s %s", userInfo.firstName, userInfo.lastName ) ) ZohoSalesIQ.Visitor.setEmail(userInfo.email?.trim()) **// On This live getting crash** } }
Crash log like below
Thread: main sun.security.jca.Providers.getThreadProviderList(Providers.java:229) sun.security.jca.Providers.getProviderList(Providers.java:172) java.security.Security.getProvider(Security.java:401) com.google.crypto.tink.subtle.EngineFactory.toProviderList(EngineFactory.java:184) com.google.crypto.tink.subtle.EngineFactory$AndroidPolicy.getInstance(EngineFactory.java:135) com.google.crypto.tink.subtle.EngineFactory.getInstance(EngineFactory.java:203) com.google.crypto.tink.subtle.AesSiv.encryptDeterministically(AesSiv.java:113) com.google.crypto.tink.daead.DeterministicAeadWrapper$WrappedDeterministicAead.encryptDeterministically(DeterministicAeadWrapper.java:78) androidx.security.crypto.EncryptedSharedPreferences.encryptKey(EncryptedSharedPreferences.java:611) androidx.security.crypto.EncryptedSharedPreferences.encryptKeyValuePair(EncryptedSharedPreferences.java:0) androidx.security.crypto.EncryptedSharedPreferences$Editor.putEncryptedObject(EncryptedSharedPreferences.java:391) androidx.security.crypto.EncryptedSharedPreferences$Editor.putString(EncryptedSharedPreferences.java:258) com.zoho.livechat.android.modules.commonpreferences.data.local.entities.CommonPreferencesLocalDataSource.putString(CommonPreferencesLocalDataSource.kt:275) com.zoho.livechat.android.modules.commonpreferences.data.repositories.CommonPreferencesRepository.putString(CommonPreferencesRepository.kt:88) com.zoho.livechat.android.modules.commonpreferences.domain.usecases.SaveDataToSharedPreferencesUseCase.putString(SaveDataToSharedPreferencesUseCase.kt:21) com.zoho.livechat.android.modules.commonpreferences.domain.usecases.SaveDataToSharedPreferencesUseCase.putString$default(SaveDataToSharedPreferencesUseCase.kt:16) com.zoho.livechat.android.modules.commonpreferences.domain.usecases.SaveDataToSharedPreferencesUseCase.putString(SaveDataToSharedPreferencesUseCase.kt:1) com.zoho.livechat.android.ZohoLiveChat$Visitor.setEmail(ZohoLiveChat.java:94) com.zoho.salesiqembed.ZohoSalesIQ$Visitor.setEmail(ZohoSalesIQ.java:809) com.presentation.main.MainViewModel$1.invokeSuspend(MainViewModel.kt:144) kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) android.os.Handler.handleCallback(Handler.java:958) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loopOnce(Looper.java:205) android.os.Looper.loop(Looper.java:294) android.app.ActivityThread.main(ActivityThread.java:8225) java.lang.reflect.Method.invoke(Native method:0) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:573) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
The text was updated successfully, but these errors were encountered:
Hi @JackeyPSSPL ,
We apologize for the inconvenience caused. We'll look into this crash and update you.
Regards, Bhahirathan M, Zoho SalesIQ.
Sorry, something went wrong.
No branches or pull requests
Note: Not used EncryptedSharedPreferences in my project and find below code as using
This code on ViewModelClass
Crash log like below
Thread: main
sun.security.jca.Providers.getThreadProviderList(Providers.java:229)
sun.security.jca.Providers.getProviderList(Providers.java:172)
java.security.Security.getProvider(Security.java:401)
com.google.crypto.tink.subtle.EngineFactory.toProviderList(EngineFactory.java:184)
com.google.crypto.tink.subtle.EngineFactory$AndroidPolicy.getInstance(EngineFactory.java:135)
com.google.crypto.tink.subtle.EngineFactory.getInstance(EngineFactory.java:203)
com.google.crypto.tink.subtle.AesSiv.encryptDeterministically(AesSiv.java:113)
com.google.crypto.tink.daead.DeterministicAeadWrapper$WrappedDeterministicAead.encryptDeterministically(DeterministicAeadWrapper.java:78)
androidx.security.crypto.EncryptedSharedPreferences.encryptKey(EncryptedSharedPreferences.java:611)
androidx.security.crypto.EncryptedSharedPreferences.encryptKeyValuePair(EncryptedSharedPreferences.java:0)
androidx.security.crypto.EncryptedSharedPreferences$Editor.putEncryptedObject(EncryptedSharedPreferences.java:391)
androidx.security.crypto.EncryptedSharedPreferences$Editor.putString(EncryptedSharedPreferences.java:258)
com.zoho.livechat.android.modules.commonpreferences.data.local.entities.CommonPreferencesLocalDataSource.putString(CommonPreferencesLocalDataSource.kt:275)
com.zoho.livechat.android.modules.commonpreferences.data.repositories.CommonPreferencesRepository.putString(CommonPreferencesRepository.kt:88)
com.zoho.livechat.android.modules.commonpreferences.domain.usecases.SaveDataToSharedPreferencesUseCase.putString(SaveDataToSharedPreferencesUseCase.kt:21)
com.zoho.livechat.android.modules.commonpreferences.domain.usecases.SaveDataToSharedPreferencesUseCase.putString$default(SaveDataToSharedPreferencesUseCase.kt:16)
com.zoho.livechat.android.modules.commonpreferences.domain.usecases.SaveDataToSharedPreferencesUseCase.putString(SaveDataToSharedPreferencesUseCase.kt:1)
com.zoho.livechat.android.ZohoLiveChat$Visitor.setEmail(ZohoLiveChat.java:94)
com.zoho.salesiqembed.ZohoSalesIQ$Visitor.setEmail(ZohoSalesIQ.java:809)
com.presentation.main.MainViewModel$1.invokeSuspend(MainViewModel.kt:144)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
android.os.Handler.handleCallback(Handler.java:958)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loopOnce(Looper.java:205)
android.os.Looper.loop(Looper.java:294)
android.app.ActivityThread.main(ActivityThread.java:8225)
java.lang.reflect.Method.invoke(Native method:0)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:573)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
The text was updated successfully, but these errors were encountered: