Open dhruvsunking opened 3 months ago
can you explain more? is it minify? if does, you might need to exclude the app auth library to be obsfucate by gradle
Sure. no it is not minified. Sometimes it works fine but sometime suddenly (prepareAuthorizationRequestIntent, getAuthorizationRequestIntent) these two started throwing exception of activity not found.
Hi from Android 13 we are required to add category
with the intent. If didn't have that with your intent, can you add the following and check if that helps.
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) { authIntent.addCategory(Intent.CATEGORY_DEFAULT) authIntent.addCategory(Intent.CATEGORY_BROWSABLE) }
Update: This doesn't work. It's still crashing.
My user scenario is similar like this old comment
Got several crash report of that. User mostly with Samsung. OS Version 13, 14. And chrome is installed.
We have the same problem. We've implemented it recently. Successfully tested on multiple devices. However, after we've released it we have a lot of ActivityNotFoundException. Mostly Samsung devices and Android 13. Unfortunately, I don't have any device with this problem :-(
I also had several users reporting this problem, all with Samsung devices with Android 13. And the problem goes away after restarting the device. It seems like there's a bug with intent handling on this version of Samsung-modified Android version. Seems related to this SO question: https://stackoverflow.com/questions/78341069/packagemanager-queryintentactivities-returns-empty-on-random-devices
Checklist:
Configuration
Issue Description
Get this exception on Crashlytics when app is opened