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

IoT Device Disconnects After a Few Seconds in iOS 13 #2

Closed
admah opened this issue Oct 28, 2019 · 9 comments
Closed

IoT Device Disconnects After a Few Seconds in iOS 13 #2

admah opened this issue Oct 28, 2019 · 9 comments
Labels
feature request New feature or request iOS

Comments

@admah
Copy link

admah commented Oct 28, 2019

In iOS 13, there is a known issue that causes hotspot devices to connect and then disconnect after a few seconds.

Apparently this can be fixed by setting configuration.joinOnce = false; on lines 61 and 84 in RNWifi.m.

I'm going to do some independent testing as well, but wanted to create an issue for reference.

@admah admah changed the title IoT Device Disconnects After a Few Seconds IoT Device Disconnects After a Few Seconds in iOS 13 Oct 28, 2019
@JuanSeBestia JuanSeBestia added the feature request New feature or request label Oct 28, 2019
@JuanSeBestia
Copy link
Owner

If you solve it, do not hesitate to perform a PR :)

@admah
Copy link
Author

admah commented Nov 6, 2019

Adding a comment that updating configuration.joinOnce = false; did not seem to resolve the issue.

@josectobar
Copy link

configuration.joinOnce = false; seems to do the trick, just make sure you set it in both wifi connection methods.

@eliaslecomte
Copy link
Collaborator

@admah or @josectobar can you open a PR for this?

JuanSeBestia pushed a commit that referenced this issue Nov 18, 2019
@adnan1naeem
Copy link

this repo is not working in ios 12 plus. if someone has fixed it share link or repo?

@josectobar
Copy link

@adnan1naeem, what type of error are you getting?

@adnan1naeem
Copy link

adnan1naeem commented Dec 19, 2019

@josectobar i am facing this error "Cant get ssid"
I am facing above error on calling method: "getCurrentWifiSSID"

tshiamor-adft added a commit to tshiamor-adft/react-native-wifi-reborn that referenced this issue Jan 15, 2020
@eliaslecomte
Copy link
Collaborator

I have created a pr for this. (#33)

JuanSeBestia added a commit that referenced this issue Jan 16, 2020
Co-authored-by: Juan Sebastian Dussan Cubides <[email protected]>
JuanSeBestia pushed a commit that referenced this issue Jan 16, 2020
## [2.3.1](v2.3.0...v2.3.1) (2020-01-16)

### Bug Fixes

* **iOS:** Use joinOnce as mentioned #2. ([#33](#33)) ([6c71618](6c71618))
@Rapsssito
Copy link
Collaborator

Rapsssito commented Jan 31, 2020

@admah, could test it with react-native-wifi-reborn 2.3.1? Feel free to reopen this issue if the problem persists.

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

No branches or pull requests

6 participants