HomePhabricator
Diffusion Comm c32938d893dc

[keyserver] Introduce endpoint for deep linking

Description

[keyserver] Introduce endpoint for deep linking

Summary:
This endpoint won't be accessed when the app is installed - opening it on a mobile device should deep link to the app. If the app isn't installed, this endpoint will be called on the server side. Then we can redirect the user to the store. At this point only the App Store is supported but later in the stack Google Play will be also handled - based on the user agent. This is also the place where deferred part of linking will happen - setting referrer or clipboard item.

Depends on D7216 D7231

Test Plan: Create a test page containing a link to /invite/:secret. Clicking this link on a device with installed app results in opening the app with appropriate initialURL set. Clicking it on other devices opens the App Store.

Reviewers: bartek, kamil, ashoat

Reviewed By: bartek, ashoat

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7217

Details

Provenance
tomekAuthored on Mar 27 2023, 5:35 AM
Reviewer
bartek
Differential Revision
D7217: [keyserver] Introduce endpoint for deep linking
Parents
rCOMM9f5324bb1836: [native] Ignore landing in Flow config
Branches
Unknown
Tags
Unknown