Hello,
I'm working on a wifi app, there is the VPN function in it. When I keep using my app, I can connect the VPN, but it will be disconnected after I closing the app or move it in the backgroud for a minute.
For resolving this problem, I try to make the app keep alive in the backgroud by using GPS or playing music without sound.....Certainly, I've been rejected😢
Is there anyone can give me some ideas about this:
- Is there any method that I can keep my app alive in the background?
- Can I let the OS remember the VPN status after closing the app?
Thanks,
Best regards,
L.