UniversalLink

I know universal link(Assocaited domains) can be used for web to app communication. Can we use the same for app to app communication?

Replies

Can you explain more about what you mean by “app to app communication”?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Universal link can be used to invoke the native app from webapp(Safari).

For example, browsing www.xyz.com can invoke the app "ABC". Can another app "EFG" invoke "ABC" using universal link?

Can another app … invoke "ABC" using universal link?

Sure. If you open the universal link URL via

-[UIApplication openURL:]
(or its successor), it will be routed to the native app if that app is installed.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

How to know whether universal link is used by web app or native app?

How to know whether universal link is used by web app or native app?

I don’t think there’s a way to tell that.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I believe we can use this key

UIApplicationLaunchOptionsSourceApplicationKey which app (web app or native app) is the source application when app is not runnning in background.


Is there a way to get the source application when app is running in background