Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 16 support #2

Open
foxriver76 opened this issue Apr 5, 2023 · 3 comments
Open

iOS 16 support #2

foxriver76 opened this issue Apr 5, 2023 · 3 comments

Comments

@foxriver76
Copy link

Hi, thanks for your package. When running on iOS detectVPN always returns false. Is it supposed to wok on iOS?

Minor hint: The function returns a boolean, according to types it is a number

export function detectVPN(): Promise<number> {

@aspidvip
Copy link
Owner

aspidvip commented Apr 6, 2023 via email

@foxriver76
Copy link
Author

Thanks for your fast response. I have tested it on a real device. Had VPN and WiFi active. Maybe detection only works outside of WiFi? Or are there any restrictions in which situations the module detects the VPN?

@foxriver76
Copy link
Author

I had some time to try again and indeed it only works if not connected via Wi-Fi. Any plans to improve the detection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants