Docs

How to Add a New URL Scheme

Configure custom URL schemes for deep linking in your iOS app.

Custom URL schemes allow other apps and web links to open your app and pass data to it. This is essential for Grovs deep linking functionality.

1

Open your Xcode project

Launch Xcode and open your iOS project.

2

Select your app target

In the Project Navigator, click on your project file, then select your app target under the Targets section.

3

Navigate to the Info tab

Go to the Info tab in the target settings.

4

Add a new URL Type

Scroll down to the URL Types section. Click the + button to add a new URL type.

5

Enter the URL scheme from Grovs dashboard

In the URL Schemes field, enter the URL scheme value provided in your Grovs dashboard. You can leave the Identifier field as the default or set it to your Bundle Identifier.

6

Set the Role to Editor

Set the Role dropdown to Editor.

7

Test by opening your URL scheme in Safari

Build and run your app on a device or simulator. Open Safari and enter your URL scheme in the address bar:

yoururlscheme://

Replace yoururlscheme with the actual value from your Grovs dashboard. Your app should open when you navigate to this URL.

Add both URL scheme values from the Grovs dashboard. Both are required for the SDK to work properly in test and production environments.