We are not distributing our app from Google Play due to some policy violations and instead planning to put it on our own server for direct download.
I want to implement invite friends feature in android mobile app. My app user will invite his friends through a dynamic link shared similar to
https://example.com/download_app?referred_by_user=12345678_john
On clicking on that link, android apk will be downloaded from our own server, user will manually install it. When user open app first time after installing, i want to read the referred_by_user=12345678_john parameter from the referral link to validate it against our database users and then to award referrer user some points.
is there any way to achieve this without distributing app through Google Play?