Can I Deep Link from another app into my app?
Yes, you can link from another app into your app, and only your app needs the Branch SDK integrated.
There are 3 ways to embed links:
-
Embed Quick Link from the target app’s dashboard.
-
Use the Deep Linking API to create a link with the target app’s API key, making sure to send your API request early enough to account for response time.
-
Programmatically build the link as a
String
, starting with target app’s domain (i.e.https://example.app.link
), and append deep link keys as encoded query parameters.
Then, to execute in-app clicks:
For iOS
Call UIApplication.shared.open()
on the link
For Android
Insert link into an Intent:
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse(yourUrl));
startActivity(intent);
Updated almost 4 years ago