Self-signed certificate fingerprint verification in Android app

Developers, please add an option to validate self-signed certificate when using webdav for synchronization in Android app. Preferably, this should be done using modern hashes like sha-256 fingerprint check or by providing the certificate itself. Many people use self-signed certificates. Currently, the only option you've provided is to disable certificate check completely, which is a serious security flaw that leaves the possibility for various mitm attacks.