openvpn_flutter icon indicating copy to clipboard operation
openvpn_flutter copied to clipboard

iOS version lower than 15 cannot connect

Open lau1944 opened this issue 3 years ago • 2 comments

There is a message for iOS user lower than 15 xxx - Updated required. I tried to lower the vpn extension deployment target, but I got a error when building

'now' is only available in application extensions for iOS 15 or newer

Can you resolve this?

lau1944 avatar Jul 27 '22 16:07 lau1944

Ok, I changed code on line 44 Date.now to Date(), I was able to change deployment target now.

I suggested to do so in this repo, too.

lau1944 avatar Jul 27 '22 17:07 lau1944

Ok, I changed code on line 44 Date.now to Date(), I was able to change deployment target now.

I suggested to do so in this repo, too.

It's actually line 144.

0ttik avatar Aug 29 '22 14:08 0ttik