Basically i am working on VPN app and i want to put restriction for free user in my app. Free user can connect to VPN with 1GB of limit like TunnelBear app.
I have use this code and VPN connect/disconnect working fine. Create Personal VPN connection using NEVPNManager
Do i need to add some rule in NEOnDemandRule
to achieve this?
If i connect to VPN and close the app VPN still be connected in this case how can i restrict free user limit to 1GB while app terminated.
Any suggestion will be very helpful.
I used these simple codes and it works perfect