How to recommend a native app when viewing web app in devices? - ios

Have you ever used gmail in your Android or iOS using your browser. While browsing it you get a small popup at the top saying that to view/install the native gmail app available at Google Play or AppStore. How do you do that? Is that feature done using html, css, and JS. Or is it built-in to native app?
By the way, this doesn't happen only for gmail but pretty much all the professional apps with both web apps and native apps.

On iOS, you're thinking of Smart App Banners, which are a website configuration detail to display a banner for the user to view your iOS app in the App Store:

Related

What does Apple think about complete Web Based Apps?

I used to be a Web Developer and I'm not experienced at developing iOS Apps.
I've just found out that I can make the whole App a Mobile Website. So my question is if Apple accept these kind of Apps, where the whole content is a normal mobile friendly Website. As Apple can't control the content displayed in such an App.
There are three ways you can leverage your expertise as a web developer to develop iOS apps:
Use SFWebView or WKWebView and use it to present HTML (either stored or retrieved remotely) to the user. In this case your app would have to go through AppStore review. There's plenty of apps like these, so I would assume it would not be a huge issue.
Use a framework like React Native that compiles Javascript dialects into native UIKit. Again, the app would be up for review in the AppStore. It would feel more iOS-like to the users.
Develop a bona-fide web app that looks great on any phone and you skip the AppStore part.
I'm working as a web developer too and we did a few iOS apps for our clients. Basically 90% or more where pure web view and so far we didn't had problems getting through with them.

iOS webapp open from another webapp or safari

Is there a way I could make links to my website open in the web app if the user has it installed on their home screen? Like if there is a link to my website in the Facebook app, how do I tell the iPhone to open the web app and not safari?
I know native apps can do this, and you can open one app from another... but can the same be done with a web app and native app or two web apps (open one web app from another)?
It's probably super far fetched, but it would be a nice feature!
Yeah, it would be a nice feature... but unfortunately you can't yet. iOS 8 may be?

Launch Foursquare app via BlackBerry mobile web link

Is there a way to create a link on a web page to launch the BlackBerry native version of the Foursquare app? I'd like to open a particular venue in the app, but I can't even find a way to cause the app to launch at all.
On Android and iOS there are URL schemes to accomplish this, like on this page:
https://developer.foursquare.com/resources/client
But, that page does not address web links from BlackBerry devices. In particular, I'm interested in BlackBerry OS 6/7 handsets.
foursquare: URLs just fail with a not-supported error message, and http links to foursquare.com just open in the same browser window.
At the bottom of the page at https://developer.foursquare.com/resources/client, under "BlackBerry Native App Integration", you can find instructions on how to launch the native foursquare app from other BlackBerry apps.

Package iPad webapp to a downloadable iPad app and submit to App Store

We are creating a web application for iPad, which doesn't have offline features for now. We are thinking if we need to create a downloadable iPad app and submit to App Store. The web application could run in some kind of embedded browser so that it looks like a native app.
Here are my questions regarding this:
Is it good/necessary to create a downloadable iPad app to let user have same experience to native apps on iPad?
Does Apple allow this kind of app to submit to App Store?
Are there any best practices for installation of iPad web applications? Is the way of typing URL in iPad safari (or homescreen icon) acceptable/preferred for most users?
How did you manage the installation process for your iPad web applications?
Thanks,
J

Enabling payments on the mobile web breaks our app in native iOS

Turning on "Enable payments on the mobile web" in the application settings prevents our application from showing up in the native Facebook app! Is this supposed to be happening?
We built the app in sandbox mode, and used FB.UA.nativeApp() to determine if we were in native. In the case that we are in native, we disable all of our Facebook credits buttons.
However, now our app is live and when we check the "Enable payments on the mobile web" box in the developer settings, the app disappears from native iOS and/or offers up an access error (everything fine in Android). As soon as we un-check the box, the app is back in action, but of course all of the credits buttons don't work in Android.
It seems strange that Facebook would keep us from using credits across all platforms with a single checkbox. Are we doing something wrong, or is this just what we have to deal with?
Looks like it's either/or.
"Accepting payments are different on iOS since Facebook Credits are not supported within iOS native apps.
On the mobile web (including mobile web apps linked from Android), you must use Facebook Credits.
On iOS, you must build a native app and use iTunes payments." https://developers.facebook.com/docs/credits/
You can't have an app that is native iOS and Android. (well you can, but as you saw, it's not going to work). You can have mobile Web that serves iPhone and Android, but the iPhone won't be native.
Thanks for the question, I was curious to implement, and wonder if this is a deal-killer for us, too.

Resources