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

Heads up: Restricted iOS entitlements required #4

Open
SukhKalsi opened this issue Aug 2, 2018 · 3 comments
Open

Heads up: Restricted iOS entitlements required #4

SukhKalsi opened this issue Aug 2, 2018 · 3 comments

Comments

@SukhKalsi
Copy link

SukhKalsi commented Aug 2, 2018

This library appears to use NetworkExtension within iOS. This is a restricted entitlement that is only
issued by Apple - https://developer.apple.com/documentation/networkextension/nehotspothelper

Code in iOS - https://github.com/blackdeve/react-native-wifi/blob/master/ios/RNWifi.m#L2

Be good to have this documented in the Readme (ideally at the top) before people get burnt by the annoyance with Apple and their heavily restricted iOS platform!!!

@pstanton
Copy link

are you sure? i just got it to work in development mode by adding the capabilities:

Network Extensions
Hotspot Configuration

@SukhKalsi
Copy link
Author

I'm not 100% sure but I'd hazard a guess that this will work in dev or if releasing internally when using Enterprise account. However if the app is intended to be published to the official iOS AppStore, Apple will most likely reject this until the particular App has the right entitlements.

@chrisbobbe
Copy link

Does it not also use the "Access WiFi Information" capability? I enabled this and it seemed to solve #5
screen shot 2018-10-03 at 9 57 31 am

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

3 participants