Update from iOS Url Scheme to Universal Link

I have the following configuration in my build.settings

settings = { iphone =  plist = {  CFBundleURLTypes = { { CFBundleURLSchemes = { "myAppScheme" } } } } } }

If I type “myAppScheme://” in the url of the iOS mobile safari, it will now prompt me to confirm if I should open the app or not. If yes, it can open my app successfully.

I would like to see how to open the app without the prompt. And I found there is something called “Universal Link” which should have the same function but without the prompt. However, I can’t find any related documentation in the Corona SDK on how to implement this. Can someone direct me to the right place or let me know how to do it?

Thanks!

Do you have a link to where you read about this “Universal Link”?

Rob

Hi Rob,

Here are few related links I found:

https://stackoverflow.com/questions/44574520/directly-return-back-to-app-from-safari-without-prompting-the-user

https://blog.branch.io/how-to-setup-universal-links-to-deep-link-on-apple-ios/

https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html

Thanks!

We have tried universal links and found incomplete behaviour from Corona SDK. Our use case it to deep link into our app, by launching it with arguments. 

To access the arguments: 

On a cold start, we include launchArgs = ... in main.lua.

On a warm start, we receive the arguments from the applicationResumed system event. 

On Android, both cold start and warm start work correctly. 

On iOS, warm start works correctly, but cold start does **not** pass the arguments in.

We’ve tried a native iOS project and it is possible to get the cold start arguments.

It looks like Corona need to grab the arguments on iOS and bundle them into launchArgs.

There’s a sample project attached demonstrating this behaviour.

Thanks

Mat

Please file a bug report on this using the Report a bug link at the top of the page.

Getting ready to submit a plugin to help with this

Hi Scott,

Were you able to build plugin for the same?

Hi Studycats2, 

i tried to download your code and tried to open the URI in google chrome but its not opening the app. Can you please guide me how can i make this thing work?

marketplace.coronalabs.com/corona-plugins/universal-links

Hi Scoth

I tried using your plugin. I downloaded the example and installed it on my IPhone XS. When i open scotth.tech its opening your web on safari and not opening the installed app. 

Hello, I would like to know if you could implement universal links from a plication made with corona, check the following plugin https://marketplace.coronalabs.com/corona-plugins/universal-linksbut it does not work in my application, someone has some answer regarding this.

In the same way I want to perform the same behavior for Android, I read and I found this plugin https://marketplace.coronalabs.com/corona-plugins/deferred-deep-links but it still does not work.

Do you have a link to where you read about this “Universal Link”?

Rob

Hi Rob,

Here are few related links I found:

https://stackoverflow.com/questions/44574520/directly-return-back-to-app-from-safari-without-prompting-the-user

https://blog.branch.io/how-to-setup-universal-links-to-deep-link-on-apple-ios/

https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html

Thanks!

We have tried universal links and found incomplete behaviour from Corona SDK. Our use case it to deep link into our app, by launching it with arguments. 

To access the arguments: 

On a cold start, we include launchArgs = ... in main.lua.

On a warm start, we receive the arguments from the applicationResumed system event. 

On Android, both cold start and warm start work correctly. 

On iOS, warm start works correctly, but cold start does **not** pass the arguments in.

We’ve tried a native iOS project and it is possible to get the cold start arguments.

It looks like Corona need to grab the arguments on iOS and bundle them into launchArgs.

There’s a sample project attached demonstrating this behaviour.

Thanks

Mat

Please file a bug report on this using the Report a bug link at the top of the page.

Getting ready to submit a plugin to help with this

Hi Scott,

Were you able to build plugin for the same?

Hi Studycats2, 

i tried to download your code and tried to open the URI in google chrome but its not opening the app. Can you please guide me how can i make this thing work?

marketplace.coronalabs.com/corona-plugins/universal-links

Hi Scoth

I tried using your plugin. I downloaded the example and installed it on my IPhone XS. When i open scotth.tech its opening your web on safari and not opening the installed app. 

Hello, I would like to know if you could implement universal links from a plication made with corona, check the following plugin https://marketplace.coronalabs.com/corona-plugins/universal-linksbut it does not work in my application, someone has some answer regarding this.

In the same way I want to perform the same behavior for Android, I read and I found this plugin https://marketplace.coronalabs.com/corona-plugins/deferred-deep-links but it still does not work.