Why window.fbAsyncInit function didn't gets fired from some mobile devices? - android

I have an application configured to support FB authentication, but it seems to be window.fbAsyncInit() didn't gets called from some of my mobile devices whereas it works for desktop and some mobile devices.
Works for : Android(Marshmallow OS) with Default browser
Desktop with Chrome and Firefox
Not works for: IOS with Safari browser
Android(Lollipop) with chrome browser
Does anyone know the reason?
Thanks in advance

Related

Android Autofill Service Not Working in Chrome

onFillRequest of AutofillSerive is not triggered on chrome browser in android. I checked in another browser like firefox, it is working fine there. How app like Dashlane support autofill in chrome?
It is a bug in Chrome. The fix should land in Chrome 89.
https://bugs.chromium.org/p/chromium/issues/detail?id=1151614
https://github.com/bitwarden/mobile/issues/489

How to mimic the Android default browser on my Desktop with Firefox or Chrome

How can I mimic the Android default browser on my Desktop with Firefox or Chrome? I've noticed that Google's search results, as well as other sites, sometimes look different on the Stock Android browser than other mobile browsers.
Can I change the userAgent to do something like this so I can view things on my desktop as on my phone?

Unable to fix a bug on Opera mini browser ( Android )

I have a small HTML game which works fine on all browsers including mobile browsers.
The only problem is with Opera Mini browser on Android devices.
I can debug my game on Chrome using ADB chrome plug-in. But is there any way to find out what's wrong on Opera mini?
This may help you : Remotely debugging Opera for Android
The accepted answer (about Opera for Android only) do not cover Opera Mini specifically.
For Javascript debugging, there is an Opera article/blog Opera Mini and JavaScript published in Sept 2012, describing the process in details using MicroEmulator.
Essentially you can have a server:console report with console.log() also supported.
PS: I doubt an HTML/JS game is going to work in Opera Mini though.
Having a web site work on Opera Mini and look decent is hard enough. ^^
What's wrong with Opera Mini in this case is that it processes Javascript on the server side.

How to launch apps like facebook or yelp from browser

How to launch apps (facebook/twitter/etc) from mobile browser but fall back to hyperlink if the app isn't installed
I referred the above link and it worked fine on Google Nexus 4, firefox as well as chrome browser. If the app was not installed anchor tag redirects it to the web browser otherwise it opens the application.
But when I tested it on different phones like HTC and Note II, as well as iPad, there were some issues like :-
1.) It was working fine but not always on Note II.(firefox and chrome)
2.) On HTC, it never opened the app. Always the facebook URL was opening up in browser.(firefox and chrome)
3.) On iPad if application is installed this code works fine which opens up the desired facebook page inside the application but if facebook app is not installed safari throws an error(Safari cannot open the page because the address is invalid).
Please let me know if there is any other way to do it or if it is related to device or browsers. Really appreciate that.

onkeyup event is not working in mobile phones

i m developing web app that must work in all smart phones
my code is like :
<input type='text' style='width:50px' onkeyup="abc()"/>
and js is like:
function abc(){
alert("something");
}
its working in my computer's browser but its not working in my android phone's browser.
What to do..?
You could try debugging your mobile browser with something like WEINRE or install Adobe Shadow (which uses WEINRE).
WEINRE is essentially a remote web inspector akin to Developer tools provided in Chrome or through Firefox Firebug.
That may help you see the errors and trace the problem.

Categories

Resources