I like Mullvad VPN service, tried using the app, but it crashes after setting it up, manually inserting info on Sailfish VPN Wireguard never connects neither with a Mullvad config file, Wireguard app also crashes.
Those things are handled by the actual OS, not the Android runtime… and handled differently, so it’s not just some few apis to hook up. They simply can’t work. Use the built-in vpn config, and use supported protocols (wireguard might need something extra, or not work).
Wireguard stopped working for me to, I had to remove it via Storeman as it made vpn settings page flashing so heavily, that I couldn’t even disable it.
I had a similar problem with the wireguard implementation from javitonino. The flashing ist fixed now. Still not work for me on Xperia 10 III. Others seems to have better luck.
I have MullvadVPN working with Wireguard perfectly fine. I installed the Wireguard-Packages from OpenRepos and downloaded a WireGuard-Config from Mullvad. You need to delete the IPv6-Addresses in that file though (as far as I can remember)
So you can definetly get MullvadVPN to work with WireGuard on SailfishOS
As I’m not currently on 4.6 yet, I can’t really help. I will see if I also face this problem, when I update once 4.6 is out of early access.
Because if you have followed all of the steps in my tutorial, I don’t see a reason why it shouldn’t work