Web API and Android problems

(Fabien Grenet) #1

Hi everybody,

I build a chatbot to enhance the reading experience on my company’s blog (in French). To provide an awsome user experience, I first hided the Flowxo chat iFrame and I used somme javascript which calls functions of the Flowxo Web API in order to print the bot and user messages directly in the content of the page.

You can try it here (but it’s in french) => https://nospoon.fr/creer-chatbot-sans-coder/

It works perfectly on dekstop (Mac, Windows) and iOS devices, but it doesn’t work on Android devices.

I tried to investigate by installing an emulated Android phone on my Macbook and found that FxoMessenger loads correctly, that messages sent by the bot seems to be delivered, but that the “FxoMessenger.on(‘messageSent’,…)” and “FxoMessenger.on(‘messageReceived’,…)” events never don’t work…

That’s very strange because the FxoMessenger.sendMessage work perfectly…

I’m lost, have no Android Phone to debug this and can’t access the chrome developer tools with the emulated Android Phone :frowning:

#2

Maybe you might have better luck with a service like: https://www.browserstack.com/

(Fabien Grenet) #3

Thanks !
I just give a look to Browserstack, but on every android device I choose it works perfectly…
I will try to test it on a reak android device plugged in USB to be able to get dev tools on my Macbook