no internet on Android via Browser widget
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
no internet on Android via Browser widget
Hi,
I have an app on both app stores, iOS and Android, same code on both platforms. The app on an android phone running 5.1.1 works fine. However newer model Android phones (not sure the android version) the app does not allow for the browser to go to any URLs. I don't have a later model to test just yet.
I have the app settings as having a minimum 4.1 Jelley Beans, The internet application permissions is selected.
One error message that was provided me to is the following :
'net::ERR_CLEARTEXT_NOT_PERMITTED'
Does anybody have any ideas on what could be causing the issue? I can't figure out why it would work on the older phone and not on a later model. I haven't updated the Android SDK in a long time, but I would think that would only apply for testing out latest builds. I am running Livecode 9.6.0 (dp 3).
Thanks,
Bevan.
I have an app on both app stores, iOS and Android, same code on both platforms. The app on an android phone running 5.1.1 works fine. However newer model Android phones (not sure the android version) the app does not allow for the browser to go to any URLs. I don't have a later model to test just yet.
I have the app settings as having a minimum 4.1 Jelley Beans, The internet application permissions is selected.
One error message that was provided me to is the following :
'net::ERR_CLEARTEXT_NOT_PERMITTED'
Does anybody have any ideas on what could be causing the issue? I can't figure out why it would work on the older phone and not on a later model. I haven't updated the Android SDK in a long time, but I would think that would only apply for testing out latest builds. I am running Livecode 9.6.0 (dp 3).
Thanks,
Bevan.
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: no internet on Android via Browser widget
I don't know for sure, but anything mentioning "clear text" is likely related to encryption.
Do you have the encryption components checked in the Standalone Builder?
Do you have the encryption components checked in the Standalone Builder?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: no internet on Android via Browser widget
I can't find any setting for encryption in the stand alone settings anywhere.
Re: no internet on Android via Browser widget
@Bevan: Try making sure you are using `https` URLs in your app - newer Android devices are secure-by-default which means they disallow access to HTTP urls (the same as iOS has done since iOS7 or so).
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: no internet on Android via Browser widget
Thanks, Mark. That's what I was thinking with the encryption lib; hadn't occurred to me people might still be using http rather than https.
Does liburl depend on the encryption lib for ssl?
Does liburl depend on the encryption lib for ssl?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: no internet on Android via Browser widget
Thanks @FourthWorld & @LCMark, I will try https on all links.
I just checked and it's doing strange things. facebook url with http & https works fine.
using http on another URL link doesn't work. I will try https.
I just checked and it's doing strange things. facebook url with http & https works fine.
using http on another URL link doesn't work. I will try https.
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: no internet on Android via Browser widget
When attempting to connect to Facebook via http it automatically upgrades the connection to https.
Many severs do, but not all.
Where https is needed it's a good idea to have the server force https.
Let us know how the switch to https works out on the URL you're still having trouble with.
Many severs do, but not all.
Where https is needed it's a good idea to have the server force https.
Let us know how the switch to https works out on the URL you're still having trouble with.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn