Wallet Instant Buy in webview - ios

My app will use Wallet Instant-Buy on Android. It's being used for physical goods. I'd like to use something similar on iOS.
Does anyone know if I can use the web-version of Wallet Instant Buy inside a UIWebView in my iOS app? Will cookies be persistent across app sessions? i.e. user won't need to sign-in repeatedly.

No you cannot use the Instant Buy web API from a webview either or iOS or Android.
You should use a mWeb site for iOS users.
The list of supported browsers are available at https://support.google.com/wallet/answer/2871041?hl=en

Related

How to get statistical data of app usage of other applications on IOS using react native?

I've been trying to see if it's possible to get information about app usage on IOS. For example, how much time a user spends on his/hers Facebook or Safari applications. How could one go about doing this within a react native application? Is it possible to do it with any framework?
No, it’s not possible. Apple is very strict about this.
An app cannot access other apps' sandboxes, for any reason. Everything an app can do is restricted to its own sandbox, and in no way can other sandboxes be accessed.
User security is very important for Apple.
If the app you are trying to get the data about has an SDK that can be integrated in your react native app, and the SDK has APIs to provide information about usage analytics for the user(which I don't think is possible with FB SDK), you could ask the user for authorization via the SDK and show them the usage analytics information. Although, chances of these APIs being in an SDK are slim, this might be the only way.

Authorize to Apple Music via Facebook Messenger In-App Browser

We're using https://developer.apple.com/documentation/musickitjs to authorize Apple music, on Desktop it opens a new window to authorize to apple.
But It's NOT working on mobile In-App Browser (both iOS & Android), probably because on mobile messenger, it's not possible to allow the opening of multiple windows.
Are we missing something here? Any workaround for it?
Has anyone done that?
Ref: https://developer.apple.com/forums/thread/117058

Turn web app into iOS app with push notification

I developed a web application for a customer.
Web users can login and have their private account.
The application manager want to send "push" notification to users connected on iOS mobile devices.
Since I cannot achieve this feature with a simple web applications but I don't have resources to develop a native iOs application, the question is:
Is there a simple way to create an iOS "wrapper" to my web application and enable push notification for that app?
It will just be a webView pointing to my web application?
I'll be grateful if somebody can point me to resources, skeleton apps, alternative solutions, etc.
The kind of app you are talking about would be rejected from the app store due to the poor value aported in comparison to your website. This is part of the policy apple applies for a while now.

Tracking Hybrid Apps with Google Analytics

I have an app with some native screens and some additional content I load via UIWebView. I am trying to track both native and web content into the same google analytics account. I'm able to create an account that tracks web and I can create a separate account that tracks the native screens. How can I combine this tracking into a single account?
Track web code using ga.js and native code using GA iOS SDK
You should have a UA account ID of the sort "UA-xxxxxxxx". If you use this
same Analytics tracking ID across your web app & native iOS app, all your data will end up in the same Google Analytics bucket. Obviously, you'll have to use the javascript library in your web app and native SDK in your iOS app.
Alternative Solution (I dont really recommend this)
You can you have your web app pipe in your GA events into your iOS app. How I did this in the past was like so.
I created a special GA codes like myapp://ga-pageview/<pagename> and myapp://ga-event/event_category/event_name.
Use the UIWebViewDelegate method webView:shouldStartLoadWithRequest:navigationType: to intercept these "special" urls and do the GA callback natively.
In the web app, whereever you need you need call a GA event, create an iframe with the myapp://ga-* url scheme above. Then remove that iframe.

ios 6 opening app directly from mail as youtube links

Even though the YouTube app is now not a built-in app by Apple, it looks like when tapping a youtube link (in mail, for example), which starts with http://www.youtube.com, opens the YouTube app right away.
Is there a way to this for custom apps in iOS 6? I only know of custom schemes as the way to launch an app via URL.
The best solution i came across is in this post = >
Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?
But this is not as good as youtube integration. Requires user interaction via a confirm dialog etc. I wonder if IOS treats youtube links special and custom apps won't be able to use it?
Since you are talking about iOS6, then I think this answers your question:
Promoting Apps with Smart App Banners

Resources