-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
Forever loading on SplashScreen on OffDebug Variant #793
Comments
Yes i would like to Work on this issue. |
on printing the stacktrace of the throwable
If anybody got a clue on why is it happening in |
Hi @sachincool, I've been able to reproduce the issue, just as you mention, using a 7.0 image. The I captured the traffic with wireshark: As you can see, the TLS connection is failing during the handshake; and this is the very reason OFF is failing in this version. I found some articles mentioning the issue and how to solve it:
It requires a bit of work on the server side: nginx's config file (or the TLS terminator OFF is currently using) to allow EDIT: Added the URL getAllergents() is retrieving |
Wow !! @policorn I never thought i would see Wireshark and Android in the same room 😮 I'll get on the links you provided Thankyou So much for the help. 😍 |
You can see the file to resolve this issue : https://github.com/itchix/TestMVPAndroid/blob/88cf30e65756301464fc63c78ebe6ec47bdea4d8/app/src/main/java/com/scrachx/foodfacts/checker/utils/OkHttpUtil.java |
Hi @itchix, could we only force this weak cipher suite for Android 7.0 so the other Android versions can negotiate a stronger one if they support them? |
You can verify the |
Hi @sachincool, please implement the fix with @itchix's suggestions - Thanks! |
Summary:
The Splash Screen Keeps on Loading on
OffDebug
VariantSteps to reproduce:
1 choose offDebug as your build variant
2 Build and run the variant on 7.1 Android
3 Splash Screen with LoadToast is showing indeterminately.
Add System logs:
There's no Error
Only a bunch of Database create calls.
Expected behavior:
The App should run fine on android 7.1
Observed behavior:
I checked further and got that it Leads to GetJson Asynktask to execute and get the json value.
Afterwards it runs the preexecute and Doinbackground Perfectly but gets stucked on PostExecute.
Device and Android version:
Android 7.1
Yes, I would like to work on this issue
The text was updated successfully, but these errors were encountered: