How to use Google Play Referrer API to track referrer in Flutter App?

1,536

I have just implemented a Flutter plugin doing exactly that:

https://pub.dev/packages/android_play_install_referrer

Share:
1,536
Mayur Dhurpate
Author by

Mayur Dhurpate

An alumnus from IIT (BHU), Varanasi. Learning about web-based technological advancements and their applications in solving various on-ground challenges always fascinates me. Currently working on the iMumz app with a mission of making happy moms and healthy babies.

Updated on December 17, 2022

Comments

  • Mayur Dhurpate
    Mayur Dhurpate over 1 year

    I'm trying to figure out how to access referrer info provided by Google Play Store using the Play Install Referrer Library/API. Do I need to create a platform channel to the Android? And when should be the function be triggered?

    • lschmierer
      lschmierer over 4 years
      I need that, too. I haven't found a Flutter library for the Play Install Referrer API yet, but implementing it using platform channels seems straight-forward.