lschmierer / android_play_install_referrer

A Flutter plugin for the Android Play Install Referrer API.
BSD 2-Clause "Simplified" License
21 stars 21 forks source link

PlatformException(FEATURE_NOT_SUPPORTED, API not available on the current Play Store app., null, null) #26

Closed kayson3 closed 1 year ago

kayson3 commented 1 year ago

PlatformException(FEATURE_NOT_SUPPORTED, API not available on the current Play Store app., null, null)

kayson3 commented 1 year ago

https://play.google.com/store/apps/details?id=com.example.myapp&referral=abc123

And i thought i'll be getting this abc123

lschmierer commented 1 year ago

On what device is this? Can you try on a different device? Nevertheless, as the error shows, this is not an issue with this library. This just exposes a Google API to Flutter.

kayson3 commented 1 year ago

That was on emulator It works on a real device

so problem solved

kayson3 commented 1 year ago

But clicking on this link https://play.google.com/store/apps/details?id=com.example.myapp&referral=abc123

I’m expecting to get referral=abc123 data but I didn’t get it

lschmierer commented 1 year ago

Yes this does not work on emulator