Getting Started for Native Mobile
For native iOS and Android app integration, start here once you've created your GrowSurf campaign.
Last updated
Was this helpful?
For native iOS and Android app integration, start here once you've created your GrowSurf campaign.
Last updated
Was this helpful?
In order to integrate a referral program into your native iOS or Android application, there are three flows to consider (you can mix and match any of these with implementations):
- knowing when someone who downloads your app came through a referral link
- knowing when the referred friend performs a qualifying action, which unlocks rewards
- giving your logged-in users a way to share their referral link and check the status of their referrals
Let's say you want to track which users that downloaded your app came through a referral link.
You have two options for referral tracking on mobile.
To unlock rewards, your referred mobile users will need to complete a qualifying action that .
These are the most common endpoints used by GrowSurf customers:
On the server-side, you'll need to call the GrowSurf REST API endpoint .
This endpoint only requires the referred logged-in user's email address at a minimum (this person will already exist as a referred GrowSurf participant in your campaign from the step above).
For the use-case of providing your mobile app users with their referral links and the ability to see the status of their referrals, you would use the to retrieve data and display on the client-side.
(to display the logged-in user's referral link)
(to send email invites on behalf of the logged-in user)
(to display the logged-in user's referral statuses and invites)