Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Catalin Demian committed Jul 5, 2021
1 parent 885fc9a commit 010f54d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ Save it and name it "apple_app_site_association" (notice that no extension has b

Once you are done, you should be able to successfully open your app by selecting a URL received from Ometria.

### Process universal links inside app
### Process universal links inside the app

The final step is to process the URLs in your app and take the user to the appropriate sections of the app. If you are dealing with known URLs, things are simple, as you can decompose it into different path components and parameters. This will then allow you to source the required information to navigate throught the app.
However, in the case of Ometria, the URLs are obfuscated, and you cannot break them down. To do so, the SDK provides a method which traces back to your own web domain, and returns a URL that would normally be representative for your website.
Expand All @@ -556,6 +556,6 @@ func application(_ application: UIApplication, continue userActivity: NSUserActi
}
}
```
**Warning**: The method above runs asynchronously. Depending on the internet speed on the device, the processing time can vary in duration. For best results, you could implement a loading state that si displayed while the URL is being processed.
**Warning**: The method above runs asynchronously. Depending on the internet speed on the device, the processing time can vary in duration. For best results, you could implement a loading state that is displayed while the URL is being processed.

If you have done everything correctly, the app should now be able to open universal links and allow you to handle them inside the app.

0 comments on commit 010f54d

Please sign in to comment.