PWA added to homescreen, AccountKit not redirecting - ios

After adding our PWA to homescreen, when going to the login flow, on Android accountkit opens a tab in chrome, whilst on iOS, it opens inside the PWA, then the flow is broken as accountkit gets stuck on the verified page.
Does anyone knows how to force accountkit to open in a browser tab?

You should either use the native iOS and Android SDKs for AccountKit, or if you prefer to continue using the web sdk, you must switch to the "Basic Web" SDK for AccountKit: https://developers.facebook.com/docs/accountkit/webbasic
The Basic Web SDK does not use any Javascript, which is the root cause of the issue in iOS webviews. You can read more about it in the FAQ: https://developers.facebook.com/docs/accountkit/faq/#faq_645353795617467

Related

Responsive web to ios conversion, issue with opening third party url

I converted my responsive web app into an ios app in xcode and built it successfully. I run the simulator, I logged in and everything is working fine until i click my teleconference button which is supposed to launch cloud meeting landing page and it shows a screen that says "this browser does not support this, please use safari or google Chrome" hoe can this be resolved

How to include app link in Facebook share dialog

I am writing am app with Ionic/Cordova and using a Facebook plugin from here:
https://github.com/jeduan/cordova-plugin-facebook4
I created an app link using the Facebook Tools and then passed the URL (e.g. fb.me/1234567890) to the Facebook Share Dialog as the contentURL.
This works well in the browser, but fails on iOS - the Share Dialog appears but there is just an infinite spinner in it and the posted text never gets to Facebook. If I use any other non-AppLink URL, the Share Dialog works just fine.
This worked in the past using Cordova 3.x and the WizCorp Facebook plugin but with all the upgrades, perhaps a requirement has changed that I cannot find?

FBSessionLoginBehaviorWithFallbackToWebView opens in safari but not in webview

I have using Facebook login in my app. I am following guidelines of Facebook and using native app if it's installed. When native app is installed it works fine. But when it's not I am having a issue.
I specified FBSessionLoginBehaviorWithFallbackToWebView as LoginBehavior. But when app is not installed it opens up Facebook Login page in safari not in webView. I thought this behavior will open it in webView if Facebook app is not installed in user's device.
Do i need to use any other LoginBehavior to use Native app first and then webView not the safari?
Try this behavior:
FBSessionLoginBehaviorForcingWebView
It will not redirect to Safari

How to open mobile webapp link in Safari from native Facebook app on iOS?

Our webapp works nicely inside the Facebook native iOS app. However, we have some links that need to open a new window in mobile Safari rather than opening inside the Facebook (UIWebView?) app. Just a plain HTML <a href="http://site...." target="_blank"> doesn't do it--still opens within the Facebook app (latest version.) Any way to get a plain link or a window.open() to switch to Safari for the page load ?
The web team on my company tried that approach and failed. What we ended up doing was using Facebook deep linking to handle this on our native iOS app.
You can find out more about Facebook deep linking here:
https://developers.facebook.com/docs/ios/link-to-your-native-app-ios-sdk/
It's a great solution if you already have an iOS app.
I hope this helps.

Create iOS Home Screen Shortcuts on Chrome for iOS

I have a web app that allows the user to add the web page to his home screen on the iphone.
That functionality exists with Safari.
Now they released the chrome browser for the iphone too. My question is how can I instruct the user to add the web page to his ios home screen. The chrome browser doesnt seem to have that functionality..?
Can I add a shortcut from chrome options so that it would appear on the iphone home page?
For completeness:
https://developer.chrome.com/multidevice/android/installtohomescreen
Does Add to homescreen work on Chrome for iOS?
No.
Can't change the default browser, but try this (found online a while ago). Add a bookmark in Safari called "Open in Chrome" with the following.
javascript:location.href=%22googlechrome%22+location.href.substring(4);
Will open the current page in Chrome. Not as convenient, but maybe someone will find it useful.
Source
Works for me.
The is no API for adding a shortcut to the home screen in iOS, so no third-party browser is capable of providing that functionality.

Resources