principia/android
Dimitris Dafnis 08ab103f44
Guard external URL launch in the in-game WebView (#215)
When the WebView opens a URL that is neither a principia: link nor a
community-host page, it hands it to an external app with
startActivity(ACTION_VIEW). On a device with no app able to open the URI
that call throws ActivityNotFoundException and the activity crashes.

Wrap the launch in a try/catch so an unresolvable link is logged and the
WebView dialog still closes cleanly.
2026-06-04 20:37:22 +02:00
..
gradle/wrapper Rename Android project folder to just android 2025-03-04 23:17:47 +01:00
principia Guard external URL launch in the in-game WebView (#215) 2026-06-04 20:37:22 +02:00
.gitignore Rename Android project folder to just android 2025-03-04 23:17:47 +01:00
build.gradle Rename Android project folder to just android 2025-03-04 23:17:47 +01:00
gradle.properties Rename Android project folder to just android 2025-03-04 23:17:47 +01:00
gradlew Rename Android project folder to just android 2025-03-04 23:17:47 +01:00
settings.gradle Rename Android project folder to just android 2025-03-04 23:17:47 +01:00