I want to implement a referral system in my app where if the user doesn't have the app installed in the phone, the play store page for my app will open and after downloading the referral process will continue.
My normal deep linking is working but the problem is just when the app is not installed. I'm using app_links package and redirecting to play store from my web link using a link like this
I want to get the code and event id when user installs the app using above link. I've tried android_play_install_referrer package for Android (didn't work) and couldn't find a solution for iOS