How open Windows PWA standalone app when user click link? - progressive-web-apps

The scenario looks like this.
User installs our PWA app on windows desktop https://test.app.com
He gets a notification from the system and clicks on the link in outlook
https://test.app.com/test/123.
I expect the link to be loaded in PWA while it opens the browser. Is it possible to use intent filters like in android?

Related

Flutter: how to open an user's Airbnb app inbox in guest mode?

I want to open my app's user's Airbnb inbox in guest mode.
Presently I'm launching the URL:
https://www.airbnb.co.uk/guest/inbox/
But it opens their Inbox in a browser, even if the App is present. Dissappointing the app doesn't redirect it, like Googlemaps does.
Is there a way to trigger the Airbnb app? A deeplink? How would I test if the app was present before launching it?
One of Airbnb's open source contributions was 'DeepLinkDispatch', so internally they're using Deeplinks a lot.
For that link and my other links I'm using the Flutter plugin url_launcher. Would be great to have a deep link URL to throw at that, if it fails I could launch the URL above as a fallback.

when the dynamic link is opened from browser(especially in safari) it is always redirecting to the app store even though app is installed in iOS

My URL is same as below, i will get this link to my mail from sendgrid and in iOS when i tap on this it always loads the browser first (safari most of the case) and opens in app preview page even though app is installed.
URL:<a clicktracking="off" href="https://{project_name}.page.link/?link=https://{project_name}.page.link/users/email_check/{{ $email_token }}&apn=com.{project_name}.app&isi={applestoreid}&ibi=com.{project_name}.app&efr=1">https://{project_name}.page.link/?link=https://{project_name}.page.link/users/email_check/{{ $email_token }}&apn=com.{project_name}.app&isi={applestoreid}&ibi=com.{project_name}.app&efr=1</a>
When you access a dynamic link in a browser. It will intentionally not go to your app because the actions indicate that your intent is to open a web page.
If you have your custom domain from Firebase ie: [your custom domain].app.goo.gl, send it into your link like so:
https://[your custom code].app.goo.gl/
And then tap that link. Does it open the app, or does it go to Safari? If it goes to Safari, it means that you haven't configured your iOS app for universal links yet, which is needed to support opening your custom domain url directly in the app. In Xcode, go to the Capabilities tab, and ensure that you've added the universal link domain as described in Apple's docs.
If you tapped the site address on the far top-right on iOS, it disables universal linking on that iOS app, until you long-tap and ask to open in the app again.
Second, you can't type in universal links into Safari's address bar and navigate to the app. Safari, by design, will open that URL in the browser. The easiest, most reliable way to test whether universal links are working is to put a universal link into the app, and tap the link from there.

How can I open my PWA app from other native app?

I am implementing a PWA application and a native application on Android. I need to open the native app from PWA app which I know how to do that. Basically I need a URL provided from the native app and open the URL from PWA which will bring the native application. This approach is pretty much like opening google map by clicking its url: http://maps.apple.com/?address=1,Infinite+Loop,Cupertino,California..
Now I have a requirement to open my PWA from the native app. For example, if I share the PWA url through facebook, I'd like other people open the PWA app when they click on the url in facebook if they have installed the PWA.
How can I achieve that?.
You don't need to implement anything to do that. Android does it for you. For example, if your PWA is hosted on https://my-pwa.com and the user clicks a link with the href https://my-pwa.com, Android first looks through your PWAs and if the URL matches, it opens the PWA. Otherwise Android opens the Chrome browser.
Just verified this on an Android 6 device.

Manage pages displayed in Progressive Web Apps ( PWA )

I am new to PWA and was just going through some readups. We have public website and in the website we provide login for users to manage their account. By going with PWA, I understand that users can save the website on the mobile homepage as an icon. My question is that , when user click on my PWA icon , can we load the login page for the users so that they can only manage account with PWA instead of loading entire website.
The Web App Manifest allows you to control how your app appears and how it's launched. You can specify home screen icons, the page to load when the app is launched, screen orientation, and even whether or not to show the browser chrome.
The web app manifest is a simple JSON file that gives you, the developer, the ability to control how your app appears to the user in areas where they would expect to see apps (for example, a mobile device's home screen), direct what the user can launch, and define its appearance at launch.
You can define how your app is launched, add a query string parameter to the start_url that indicates how it was launched.
"start_url": "/?utm_source=homescreen"
Hope this helps!
Yes you can, within your web app manifest file you can set a JSON property called "start_url".
There's further information here https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/#set_a_start_url

iPhone Web App -- Links launched via "Home Screen" mode

I have an mobile web application that I'd like users to be able to use on "home screen mode" (that is, adding it as a bookmark to the homescreen, and then launching the web app via the home screen button).
However, this seems to behave differently than if it the web application was accessed via mobile Safari. For example, whenever I click a link on the web application (even an internal link), it separately launches an instance of Safari instead of displaying the page within the current "browser" (or whatever is launched when you click a bookmark on the home screen). How do I fix this?
Thanks!
iPhone Safari Web App opens links in new window