URL Schemes

Enabling URL Schemes for Android and iOS

URL schemes allow your app to be opened directly from a web link, providing a smooth user experience. When configured correctly, redirecting users to a custom URL scheme opens the specified link within your app if it is installed.

General Steps to Enable URL Schemes

  1. Define a Unique String: Choose a unique string that serves as the "protocol" for your URL scheme. This string should not be used by any other app.

  2. Create URL Schemes: Create two URL schemes for your app using your unique string. These schemes will look like youruniquestring.http:// and youruniquestring.https://.

  3. Redirect to URL Schemes: Redirect users to these URL schemes. If the app is installed, it will open the specified link directly in the app.

Example

  • Unique String: youruniquestring
  • URL Schemes: youruniquestring.http:// and youruniquestring.https://

If you redirect a user to youruniquestring.https://example.com/path, the app will open and load https://example.com/path.

Testing URL Schemes

To ensure your URL schemes are working correctly:

  1. Deploy Your App: Build and deploy your app on a test device.
  2. Test URL Schemes: Open a web browser or another app and redirect to your defined URL schemes (e.g., youruniquestring.https://example.com/path).
  3. Verify: Ensure your app opens and loads the specified URL correctly.

By following these detailed steps, you can successfully enable and test URL schemes for both iOS and Android, ensuring that your app provides a seamless experience when users interact with your custom links.


media-icon
media-icon
media-icon
media-icon

â“’2024 Orufy Technologies All Rights Reserved.