immich/mobile/android/app
Robert Vollmer f75d853e9a
fix(mobile): Remote video playback and asset download on Android with mTLS ()
* Add class to apply SSL options

* Apply client certificate for native Android code

* Refactor self-signed check

* Allow self-signed certificates

* Fix Dart analysis

* Add HostnameVerifier

Android explicitly does NOT check the Common Name of a certificate,
only the Subject Alt Names. Chances are that someone who self-signs a
certificate doesn't go through the extra steps to add a SAN, and in
that case the connection would be prevented by the HostnameVerifier
even thought the TrustManager was fine with the certificate itself.

* Rename parameter like in Dart

* Fix NPE

* Catch all native errors in HttpSSLOptionsPlugin

* Workaround for too early onChanged() callback

* Fix formatting

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-05-08 13:45:11 +00:00
..
src fix(mobile): Remote video playback and asset download on Android with mTLS () 2025-05-08 13:45:11 +00:00
build.gradle feat(mobile): native_video_player () 2024-12-04 16:03:46 -05:00
proguard-rules.pro fix(mobile): Android local notification failes to invoke () 2024-11-14 16:05:32 -06:00