-
Notifications
You must be signed in to change notification settings - Fork 146
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
Android 10, not able to connect to wifi network #99
Comments
I’m going to assume you have network services enabled?
On Tue, 24 Dec 2019 at 12:15 pm, digaus ***@***.***> wrote:
Prerequisites
Check all boxes if you have done the following:
- Checked that your issue isn't already filed:
https://github.com/tripflex/wifiwizard2/issues
- Make sure you fill out the Issue Type below
Issue type
Select all that apply
- Bug
- Enhancement
- Task
- Question
- Other
Description
On Android 10 I am not able to connect to networks anymore... Anyone else
has this issue?
Steps to Reproduce
Try connect to wifi network on Android 10 results in a timeout
*Expected behavior:* [What you expect to happen]
Should connect to network
*Actual behavior:* [What actually happens]
Does not connect
*Reproduces how often:* [What percentage of the time does it reproduce?]
100%
Versions
Android 10
Additional Information
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#99?email_source=notifications&email_token=ADO6DHHALTI2C2D4KKJX72TQ2FPB7A5CNFSM4J6ZPG32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICNQI7Q>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADO6DHF423RKXJX6K3QF6Z3Q2FPB7ANCNFSM4J6ZPG3Q>
.
--
Regards,
Nicholas Clancy Technical Director & Partner
Inline images
0420 634 180 or +61 420 634 180 [email protected] Norwest Business
Park, Bella Vista, NSW, 2153, Australia www.viscreate.com.a
|
Yes I have. What's odd is that I do not get any errors in Logcat. EnableNetwork even returns true but it just won't connect to it. |
I had this same issue. |
Confirmed issue on OnePlus 7T, Android Version 10, Build Number 10.0.5.HD63CB |
Maybe related to these Android 10 privacy related changes? |
Nope. Android 10 changed the WiFi handling. You cannot auto connect anymore, always need user confirmation. Implemented a solution in my capacitor plugin: https://github.com/digaus/capacitor-wifi/blob/master/android/src/main/java/com/digaus/capwifi/WifiService.java#L79 |
is there an fix for this issue? My samsung always had android 9 but now 10 and he has problems connecting. |
I'm having the same issue. Samsung Galaxy S9 running Android 10. |
I upgraded my OnePlus 5T to from Android 9 to Android 10 last week. Reading this issue, I expected it to fail to connect but it is still working. So maybe it's not (only) Android 10 related? I had issues in the past with another phone, Samsung J3: after an US update it could no longer connect, then another update fixed it. |
I noticed that when trying to connect to a Wifi network I need both :
I am pretty sure that on previous Android versions the connection did succeed when location is disabled, but it is no longer the case. |
I just encountered that the connection functionality depends on the target SDK version set for the app. As soon as I increased the compile and target SKD version from 28 to 29 (as formally required by the play store since August 2020) (dis)connect did no longer work. Reverted to SDK 28 and it was fine again, even on devices with Android 10. |
Looks like this may fix the issue -> #108 can we get that merged? |
Also this PR -> https://github.com/tripflex/WifiWizard2/pull/104/files. Is this project still maintained. |
@bendoerr none of these two seems to work for me, does it work for you? |
Tried these pull requests as they seemed to be getting good comments, however neither worked for me:
I then removed and then re-added the addon before testing on a moto g phone (android 10):
I don't get any feedback in the js callbacks within cordova, but I do see this in the
not sure if this is the cause of my issue?? I'm trying to connect to a hotspot created by an esp8266 device (using Was working fine until my android 10 update :( I can't find any other cordova plugin that comes close the the features of WifiWizard2. both pull request #108 & #104 did fix the original issue on the master branch of |
If you'd like to filter the output from
let me know if there's a better regexp pattern I should use to debug :) |
Yea trip flex is inactive now and I’m unable to update NPM.
I can add some other owners to the repo since I’m also just as bad for
inactivity (work life too busy)
On Tue, 8 Sep 2020 at 10:33 pm, Ben Doerr ***@***.***> wrote:
We haven't had time to investigate. However we will be testing this out
and working out a solution in the next few weeks. I doubt we will get any
feedback from @tripflex <https://github.com/tripflex> as it seems he has
stopped maintaining and/or no longer on github. #111
<#111>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADO6DHBQOTLIMDCVLZFDCZTSEYQAPANCNFSM4J6ZPG3Q>
.
--
Regards,
Nicholas Clancy Technical Director & Partner
Inline images
0420 634 180 or +61 420 634 180 [email protected] Norwest Business
Park, Bella Vista, NSW, 2153, Australia www.viscreate.com.a
|
@arsenal942 Thanks for the confirmation. |
Looks like this issue might be fixed by PR: 122 ! |
Still doesn't work. Tested with the SDK 28, meanwhile targetVersion was set as 29. |
It still doesn't work. Getting "ERROR_ADDING_NETWORK" error. |
I also get AndroidManifest.xml <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:maxSdkVersion="30" android:name="android.permission.BLUETOOTH" />
<uses-permission android:maxSdkVersion="30" android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> |
Nothing new? Does anybody know what to do? |
I use this fork and it works fine on Android>=10 (also Android<10) and iOS: https://github.com/VijayVaveHealth/WifiWizard2 |
Bonjour, j'utilise WifiWizard2, mais impossible d'ajouter le réseau wifi sur Android 11. Voici mes permissions Android :
|
Juste pour informer, si je mets targetSdkVersion à 28 |
@arsenal942 Reference: Link Please check if we can provide those features officially here |
Prerequisites
Check all boxes if you have done the following:
Issue type
Select all that apply
Description
On Android 10 I am not able to connect to networks anymore... Anyone else has this issue?
Steps to Reproduce
Try connect to wifi network on Android 10 results in a timeout
Expected behavior: [What you expect to happen]
Should connect to network
Actual behavior: [What actually happens]
Does not connect
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
Android 10
Additional Information
The text was updated successfully, but these errors were encountered: