how to test appLaunchURL of apple wallet pass - wallet

I'm developing Wallet Pass feature for my app, and the generated pass including appLaunchURL and associatedStoreIdentifiers. After installed into Wallet and I clicked the icon in the bottom left corner, it pops up my app's App Store page instead of opening my app. So how can I test within developing app? And how to test open appLaunchURL?

The app receives this URL in the application:didFinishLaunchingWithOptions: and application:openURL:options: methods of its app delegate.
Have you implemented these methods?

Related

Register for navigation intent in iOS swift

i have an esri based mapping app which is capable of routing and navigation.
i need to make the system know that my app is capable of routing and navigation when a third party app sends a navigation request and it should list my application among the installed maps app to the user
here is my scenario :
lets say my app is "App A" and a third party app is "App B".
App B has a button when tapped performs navigation,before opening navigation request it launches a selection window in which the system lists the maps app installed in the phone.so the user choose any one.
i need the system to add my app App A to the selection list.
i was able to use intent filters in android to achieve this easily.
what i tried in swift :
1)created a url scheme for comgooglemaps
2)system shows google maps in the app selection window for App B (even though phone doesnt have google maps installed) but opens my app and executes my task as needed
3)if google maps is installed,system opens google maps and my app doesnt receive the callback..
how do i achieve this in swift..
I need my app to be listed here among these Apple and Google maps and handle the request
please help ?
This is something which is not possible in iOS as of now
AFAIK and from the information gathered from other devs you cant let yourself list app among other apps
The only possible way is to create a URL scheme in my app and let the developer of the third party app to talk to my app using the scheme.

Google OAuth UWP App - Close Browser Tab

Using this example here works well for me to add Google authentication to my UWP app (more specifically, to my UWP project in a Xamarin Forms app). However, after authenticating and automatically going back to the app via the redirect URL, the browser tab that was opened for the google log-in remains opened (it gets navigated to google.com and doesn't close after switching back to the app). Anyone know how to close it (just that tab, of course) automatically?

Pwa / Web app "restarts" after Google login

We have a project built in react thats using service worker and manifest for Pwa functions. We use google and facebook to login to the app.
Problem: When running it in Chrome browser (not fullframe) and login to the with eg. google its no problem. When i save it to homescreen and use it in standalone mode (pwa) and hit the our login btn ,google login window opens and i pic an account to login whith. After that the pwa restarts with the splashscreen and im back to where im started Not logged in. Please help
As discussed in this documentation,
When you launch your web app from the home screen a number of things happen behind the scenes:
Chrome launches.
The renderer that displays the page starts up.
Your site loads from the network (or from cache if it has a service
worker).
If you haven't done so, you may want to check Introduction to Service Worker for more information.
With this, you may want to try let the user automatically sign back in to avoid this logging redirect problem.
Additional code reference, see this SO post.

Send an Intent from HTML5 page to the Tasker App to run a profile or task

Let me start off by saying this is for a local web site and a local Android tablet running Tasker Apps and custom Android Apps created with Flash CS6. Not for general users.
I am using Tasker and a Motion Detection App that will wake my tablet if someone walks by. I have code in my HTML 5 web site that tests for user interaction and if there is no interaction it will reset the web site to the first page after X amount of time.
What I want it to do is also let Tasker know the user interaction information too so it can reactivate the motion detector and dim the screen if there is no user interaction. I have looked and I cant seem to find a Tasker profile or Tasks that will monitor if the system is idle.
I have seen some web pages showing that a Web page can send an Intent message to open an App but what I want is to just send Tasker a simple message either 0 or 1.
I am using an HTML5 Kiosk browser compatible with chrome but not the Chrome Browser.
My question:
1. Is there any way to send an HTML5 Intent message to Tasker?
2. Or is there a better way to do this from within Tasker?
3. Or is there an app that monitors user interaction and will send an intent message that Tasker can read?
4. Or is there a way for Flash CS6 (Android app) to send an Intent for Tasker?
I am not looking for Android code because I don't program in that language.
Thank you for the help.
Try using the Tasker Network Event Server. You could send a "still alive"-message to the Tasker plugin over http with javascript, when a user clicks on a link or anywhere else on the screen inside the browser. Tasker could dim the display if there is no click for a few minutes...
(https://play.google.com/store/apps/details?id=bidoismorgan.httpevent&hl=de)

WinRT Windows 10. Launch Website without opening metro app

I'm currently trying to write a code that utilizes Cortana's Speech Recognition. I want to create a command that launch website for e.g "Mark, Open google page" Mark is the AppName declared in the VCD. I'm currently using:
Launcher.LaunchUriAsync(new Uri("https://google.com"));
But the documentation for LauncUriAsync() states that "The calling app must be visible to the user when the API is invoked." Is there an equivalent API i can use that doesn't need the calling app to be visible?