-
Notifications
You must be signed in to change notification settings - Fork 246
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
Mainland Chinese users always fail to obtain positioning, the error code is 408 #1399
Comments
I have no way to test in China. Is this a Huawei HMS device or play-services device? |
Currently, this problem occurs on Oppo phones and Xiaomi phones, but not every device will have this problem. |
I have no idea. |
Does your plug-in need to support Google GMS to obtain positioning? After the user turns on the VPN once, everything is normal when obtaining location. |
Yes. I have no idea what China does to mess this up. There’s nothing I can do. For Huawei HMS devices, I sell an optional add-on: https://shop.transistorsoft.com/products/huawei-background-geolocation |
How can I troubleshoot this issue? Do you have any suggestions? There are already many Chinese users reporting this problem during the testing phase. I need to solve it as soon as possible. |
Like I said: I have no idea. I don’t believe there is a solution for devices in China with play-services. |
Google Play Services is not allowed in China. |
Then why do many Chinese users do not have VPN installed on their mobile phones, nor do they have Google Play Services installed, but their positioning is normal. Currently this problem does not appear on ios phones |
I have no idea what goes on in China. All I know is that Google Play Services has been banned in China for years. this plug-in 100% requires Google Play Services or Huawei HMS. Users in China using a device without Huawei HMS should not expect this plug-in to work. |
Do you mean that if users who keep reporting 408 error codes can install Huawei's HMS service, they will be able to locate normally? |
They can try. |
Ok I will try this solution, thank you |
Your Environment
flutter doctor
):PASTE_YOUR_CODE_HERE
Expected Behavior
Actual Behavior
Some users in mainland China always fail to obtain positioning for the first time, with an error code of 408. When the user turns on the VPN and can access the Google website, the positioning is normal. At this time, even if the VPN is turned off, the positioning can still be obtained. What is the reason for this?
Steps to Reproduce
Context
Debug logs
Logs
The text was updated successfully, but these errors were encountered: