I'm developping a mobile app in Ionic 5 cordova, and in my app I use an iFrame.
I would need to know what browser is used in Android and in ios.
I ask that because I'm using Stripe Payment Request Button in a webpage embed by iFrame and the button is shown when I open the app as a PWA, but not when it is build as an android/ios application.
When I look at the requirements for the Payment Request Button to work, it say that I need a browser compatible to Gpay/Apple Pay. Since I have the button appearing chrome mobile and on chrome browser, but not when opening as my mobile app, I assume the browser use for an iFrame is not compatible with the Payment button ?
Apple Pay for the Web should be supported in a SFSafariViewController on iOS.
Google Pay for the Web is not supported in an Android webview:
For Android apps which use WebViews, you must invoke native Android Google Pay APIs. See Binding JavaScript code to Android code for examples.
Related
Trying to integrate Google Pay (via Stripe) in our App.
On Android 7.0, the native chrome browser is able to get access to the Google Pay data and display the stored cards in G-pay
But when we try to access the same from inside the Chrome Webview we are launching as part of a test Android App, it is unable to fetch the G-pay data.
Is it a limitation or a bug?
Any pointers appreciated.
If you want to use Google Pay via a mobile app, you should use a native implementation, such as that offered by Stripe, or use a browser intent from your Android app to open the mobile Chrome browser
Just as a note, something similar happens with Apple Pay; Apple allows you to use a native implementation in an app, or web-based Apple Pay with mobile Safari or SFSafariViewController, but not more restrictive web views.
I have an official page in WeChat, also an in-app which is HTML5 bassed.
I also have Android and iOs application.
I want to have a button in the native application, that will launch WeChat browser with the html5 url.
I understood that in the web I can use url scheme to do it like this:
weixin://dl/businessWebview/link/?appid=%s&url=%s
is there a way to utilize same functionality in native android / ios application?
We have a responsive web application for desktop users and it is working fine. My organization also has native android app. Now, the requirement is to integrate responsive web app with native android app (using webview). Same time, we are looking to access some native features of device like capture photo from web application.
We suggested to use phonegap but don't know how we can integrate phonegap javascript api with existing web application without creating phonegap/corodova application. Idea is that, user just hit the native app button and on listener it will invoke webview with webapp url. By checking user agent we will be able to load phonegap JS api and it will be able to access native features.
Issue is that, Don't know whether it is possible or not, if yes then how we can enable phonegap api in existing web app. Desktop and mobile user will get same experience.
Use WebView component of phonegap in your application, read documentation
http://docs.phonegap.com/en/3.5.0/guide_platforms_android_webview.md.html#Android%20WebViews
I want to develop a web app that will work in a server. Using apache or gunicorn, or something similar.
Now I need to know if there is any way to make a "native app" that will redirect to the web app.
Basically the native app redirect to the responsive web site that will run inside a webview. The native app only is needed to provide a a shortcut to the web app in the smartphone and also add the option of install in apple/android store.
This is possible? I can develop this "native app" with phonegap, but I need to embed the responsive web app powered by apache/nginx/gunicorn.
Any insights about this?
This is what people doing on my office :
They created a responsive web.
They created a native app (not hybrid), in other word : they use eclipse/xcode
The native app basically is just a full screen WebView
With this, they successfully employ android & iOS native apps only with WebView and upload it to their respective store.
Can a custom FB web app be used inside the iOS / android FB apps? Docs are not very clear on that. You can create Bookmarks for native apps, but I want to have a bookmark pointing to our custom FB web app canvas. The goal is to develop an app that's usable on all platforms.
I've been making some test and I could'n execute a non native app from facebook app or web page, and it's not easy to load facebook web page in PC mode from a mobile device.
The official Facebook documentation for iOS says:
When a user does a search in the Facebook app your app will be visible if it passes a usage threshold. The search results will display apps that have been configured for SSO support. When the user selects your app from the search results they will be directed to your app. If the user had previously authorized your app they will be authenticated when your app is launched.
I guess that for Android will be pretty like this. So if you develop a native app that only shows a WebView pointint to your web (pretty simple by the way in iOS and android) must work with no problems.
Usually Facebook APPs are on Flash, so I don't think that it will work on iOS (Please correct me if I'm wrong with the Flash issue).
On Android, it would be extremely easy, having in mind it works with Flash with 0 problems. You'd just have to implement a WebView on your layout and point to the url of your facebook app.
In general, you can really create applications that work on both systems, iOS and Android, playing with the webView's. However, you have to know that they will never work as if they were written on native code in terms of performance.
From what I've seen, if a developer already has an existing mobile version of their app which is also on Facebook, they are able to create a tab for it that will appear on Facebook for iOS and Facebook for Android. I don't think you can create a bookmark to the webapp version to be seen on a mobile phone. Users can of course bookmark your webapp on their browsers, though.