Page 1 of 1

browser widget - android deployment

Posted: Mon Jan 29, 2018 7:30 pm
by okk
Hi,
I am working on an Android app that should have a chat functionality included. My idea was to use the browser widget and set its URL to the tlk.io chat service, for example this one: https://tlk.io/test

It works fine in the LC development environment which is running on MacOS Sierra, but when I deploy the app to my Android phone it doesnt work. The URL is loaded, but the chat won't function. I have played with the standalone application settings, and the inclusions but I cannot get it working. Could this be a limitation of the browser widget on Android? Just to mention: when I paste the URL directly in the Chrome browser on my phone the chat works. And as a MacOS standalone it works as well. Thanks for any hints.
Oliver

Re: browser widget - android deployment

Posted: Wed Feb 07, 2018 6:45 pm
by sphere
hi,

do you have a test stack?

Re: browser widget - android deployment

Posted: Thu Feb 08, 2018 7:50 pm
by jacque
Have you tried using a player control instead? You have more control there.

Re: browser widget - android deployment

Posted: Tue Feb 13, 2018 9:36 am
by okk
Hi and thanks for the responses. I attach a test-stack, go to the chat-tab.
jacque wrote:
Thu Feb 08, 2018 7:50 pm
Have you tried using a player control instead? You have more control there.
I am not sure why a player control would be suitable here. I am trying to embedd a web-site into my stack. Can you elaborate how a player control would be usueful in my use case?
Best. Oliver

Re: browser widget - android deployment

Posted: Tue Feb 13, 2018 1:24 pm
by sphere
Indeed in IDE chat works ok
Have to check later on Android device if it works.

Did you perhaps already tried on Android emulator to see what it does there?

I the attached stack i don't see any settings for Android, so can't see what you've set yourself.

Re: browser widget - android deployment

Posted: Tue Feb 13, 2018 6:50 pm
by jacque
okk wrote:
Tue Feb 13, 2018 9:36 am
I am not sure why a player control would be suitable here. I am trying to embedd a web-site into my stack. Can you elaborate how a player control would be usueful in my use case?
Best. Oliver
It wouldn't. For some reason I thought you were just trying to display video. My best guess is that I hit the wrong link in the digest I receive daily and accidentally responded to the wrong question.

Re: browser widget - android deployment

Posted: Tue Feb 13, 2018 8:06 pm
by sphere
Just tested it on Real device.
Works not exactly the same as in the IDE.

When you click on the cloud in left upper corner, Choose Demo as group and click Join, then
you can see the demo chat and type something.

Creating an own group seems not to work and shows no way of adding text to the chat.
Also Joining your test group does indeed work in IDE but not mobile, it does not render it.
It does work ok on Chrome on mobile.
I would report this as a bug http://quality.livecode.com/ because what works in IDE should work on platform (when correct inclusions are chosen), but that seems not the case.
It's not something we can solve.

Re: browser widget - android deployment

Posted: Sat Feb 17, 2018 1:25 pm
by okk
Hi and thanks for taking the time to test this. I will file a bug report. Best. Oliver

Re: browser widget - android deployment

Posted: Sun Feb 18, 2018 9:26 am
by okk
Here is the bug report, feel free to add comments.
http://quality.livecode.com/show_bug.cgi?id=20989

Thanks. Oliver