External links to load a page from an AppGyver app (aka deep linking)

I’d like to be able to add a feature to my app where a person clicks an external link and it takes them to a specific page within the app.

I believe that this is called deep linking.

One of the ideas that I have is to send a code as a link to allow people to join a group within my app.

It gets complicated because they may or may not have the app installed.

So the process goes something like this …

  1. Send a link to someone’s email
  2. User clicks the link
  3. If they have the app installed on their device, the app starts, they log in, and it takes them to a specific page within the app
  4. If they don’t have the app installed, it prompts them to download the app for their device (Apple App Store or Google Play), and once installed, they create their account, and it takes them to a specific page within the app.

Is this possible with AppGyver? Any ideas on how to implement it?

Much appreciated :sunglasses:

1 Like

I think all but step 4 should be possible though it’s been a while since I made an app with this feature. I don’t how step 4 could be implemented.

But for the first three steps: You should add URL Scheme in Build service to define the beginning of your link. The built app will then be able to open links starting with that URL. Also, add a new Receive event with Event source App brought to foreground via URL to your Initial page and handle the logic then. You should check the URL from event output and handle directing to specific page yourself in the logic based on that.

1 Like

Thanks @Tomi_Laakso! I will test this out. Must appreciated :sunglasses:

1 Like

@vereggen have you had a chance to test this out?

I’d like to use the same use case that you stated above.

Then also internally in the app when I push in dynamic text from the backend - use the URL schema to redirect to different pages that gives me more flexibility than a single open-page logic node.

Hey @William_Glass … haven’t gotten to this yet. I have a couple of other features for my app on the priority list. If you discover any nasty surprises or hurdles let me know :slight_smile:

1 Like

@vereggen It works so far to just open up the app once you have the URL Scheme identified and the app is downloaded. I haven’t set up the logic to direct to a specific page yet but will tackle that next.