TBA - IllegalStateException: Not allowed to start service Intent
Hi there, it appears that if the Tor Browser for Android is set as the default WebView, it may be called upon as the system's default "CustomTabs" implementation, and be liable to respond to the "CustomTabsClient.warmup" API call, which starts it in the background.
Apparently there are cases where Tor Browser for Android will then take an Intent, and attempt to start a service Intent (instead of using Android 8+ APIs) which then causes an IllegalStateException to be thrown, which crashes the app that tried to call warmup
Corresponding issue: https://github.com/ankidroid/Anki-Android/issues/5337
Links are in there including a stack trace
I think this is the most relevant though, there's an upstream patch from Mozilla that may or may not be integrated, and may or may not need to be adapted into other areas: https://trac.torproject.org/projects/tor/ticket/29238#comment:3
Unfortunately I couldn't actually find a link to just look at the git repo source code for TBA, so I can't point deeper into to the issue