This app was mentioned in 4 comments, with an average of 6.50 upvotes
More info: Alibaba B2B app defines a WeexPageActivity
activity that can handle http/https
links. However, this activity is exported=false
. If the user has this app installed, and you start a Uri with an HTTP link inside, your own app will crash with a SecurityException
.
The intent system is nice, but it is only as nice as the people who use it. I can't wait for the day it gets fixed, the way content://
Uris are slowly fixing the wholefile://
Uris debacle?
TL;DR: The only way to work around this is to wrap all startActivity
calls with an HTTP link intent with a try-catch for all exceptions. This is in general a good strategy for all intents. The Alibaba app developers are working on a fix.
Edit: Ran into this post by commonsware. Gives better context on the issue.
I'm seeing a strange crash come through.
By any chance did you sideload Google Play Services or Chrome?
Do you have this app installed?
https://play.google.com/store/apps/details?id=com.alibaba.intl.android.apps.poseidon
For anyone with the same issue. This app:
https://play.google.com/store/apps/details?id=com.alibaba.intl.android.apps.poseidon
Is intercepting Chrome Custom Tab links. Either remove that app or disable CCT in sync.
Do you have this app installed by any chance?
https://play.google.com/store/apps/details?id=com.alibaba.intl.android.apps.poseidon