Git Product home page Git Product logo

Comments (13)

eliaslecomte avatar eliaslecomte commented on July 20, 2024

What device are you using. Could you make a movie of the behavior?

from react-native-wifi-reborn.

mpconstruct avatar mpconstruct commented on July 20, 2024

What device are you using. Could you make a movie of the behavior?

I am using redmi4, redmi 3s prime, redmi 7s Pro. The same issue occured In all these three device

from react-native-wifi-reborn.

mieupro18 avatar mieupro18 commented on July 20, 2024

Same issue is happened for me in Redmi note 5

from react-native-wifi-reborn.

jk89gr avatar jk89gr commented on July 20, 2024

Hello, same issue here.
Device: Redmi Note 8 Pro

from react-native-wifi-reborn.

Rybachello avatar Rybachello commented on July 20, 2024

Hello, same issue
Device: Redmi 5 Plus

from react-native-wifi-reborn.

Shamplol avatar Shamplol commented on July 20, 2024

Same issue for me on my Pocophone F1. If you go in the app settings, under "other permissions" (on MIUI) you can then set "Change Wi-Fi Connectivity" to "Accept. I wonder if there is a way to do that programmatically.

from react-native-wifi-reborn.

Juanjofp avatar Juanjofp commented on July 20, 2024

Hello, same issue in Xiaomi mi mix 2 5G, some workaround?

Thank you in advance

from react-native-wifi-reborn.

eliaslecomte avatar eliaslecomte commented on July 20, 2024

Same issue for me on my Pocophone F1. If you go in the app settings, under "other permissions" (on MIUI) you can then set "Change Wi-Fi Connectivity" to "Accept. I wonder if there is a way to do that programmatically.

Can you then connect successfully? I assumed it was a problem with the new Android 10 wifi api.

from react-native-wifi-reborn.

Shamplol avatar Shamplol commented on July 20, 2024

I've been using the library successfully despite having inconsistent behavior across different mobiles. It's been better since a recent MIUI update. I use it to connected to IoT devices (set as access points with no password) :

 const connectToWifiNetwork = async wifiNetwork => {
        await WifiManager.isRemoveWifiNetwork(wifiNetwork.SSID);

        return WifiManager.connectToProtectedSSID(wifiNetwork.SSID, '', false)
            .then(async () => {
                await WifiManager.forceWifiUsage(true);
                ...
            })
            .catch(error => 
                ...
            }

from react-native-wifi-reborn.

github-actions avatar github-actions commented on July 20, 2024

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.

from react-native-wifi-reborn.

Shamplol avatar Shamplol commented on July 20, 2024

The problem stopped on my pocophone F1 after recent MIUI updates

from react-native-wifi-reborn.

eliaslecomte avatar eliaslecomte commented on July 20, 2024

Yes this was definitely a firmware issue. I've added code to our android dependency https://github.com/ThanosFisherman/WifiUtils so that it mitigates the loop and throws an exception android10ImmediatelyDroppedConnection. It's merged and should be released soon.

Note: users still using the 'bugged' firmwares can't connect to the wifi network. You should show them instructions on how to do manually.

from react-native-wifi-reborn.

stravi avatar stravi commented on July 20, 2024

Xiaomi Redmi 6 Pro is connecting to the network but even after the connection is successful for the next ~2min it continously pops up dialog asking for permissions.

from react-native-wifi-reborn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.