I am launching a web page when user clicks a button in my app.
val intent = Intent(Intent.ACTION_VIEW, Uri.parse("https://www.example.com"))
startActivity(intent)
It works on every device I have tested but I am getting crash logs from Crashlytics stating No Activity found to handle Intent { act=android.intent.action.VIEW (has data) }
.
It seems to only be on Amazon Fire devices.
Obviously I can just check that the intent resolves first before I try to start the activity but I wanted to actually replicate the bug and confirm the fix.
Could the user have uninstalled the web browser? It seems strange as I have had quite a few of these crashes and they just seem to have started recently.