Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to call api when app is installing from app store

Firstly, I know question is conceptual based rather than coding so apologise for mistakes.

I am working on an app, now there is a scenario that if I received an sms and when I click on sms then two cases happened...

  1. If app installed in device, then open specific screen and called api
  2. If app not installed then download from app store and during installation call an api from server and manage some response.

The concept may be of deep linking, but I don't know how to manage the scenarios and I know during installation api call is not possible, but is there any way to achieve this...?

like image 985
Parkhya Dev Avatar asked Jan 01 '26 08:01

Parkhya Dev


1 Answers

Use Deferred deep linking with custom parameters using branch.io

Deferred deep links can route users to content even if the app is not installed when the link is opened. The link will first redirect to the App Store or Play Store to download the app, and then take the user to the specific “deferred” content immediately after first launch.

An example:

Basic workflow: http://blogs.innovationm.com/deferred-deep-linking-in-ios-with-universal-link/

-> User selects domain link on web.

-> Link sets referral ID to cookie.

-> User redirected to app store.

-> On app launch, load referral page in SFSafariViewController.

-> Referral page checks for cookie and if it exists calls a deeplink into the app with the referral ID.

How branch deep link work

https://docs.branch.io/pages/apps/ios/

https://branch.io/what-is-deep-linking/

like image 107
MAhipal Singh Avatar answered Jan 03 '26 02:01

MAhipal Singh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!