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

Cleanup pending installReferrers in onDetachedFromEngine #17

Closed lschmierer closed 2 years ago

lschmierer commented 2 years ago

fixes #12 and #14

solikhver commented 2 years ago

Looks good. That should fix DeadObjectException.

lschmierer commented 2 years ago

As @solikhver pointed out in https://github.com/lschmierer/android_play_install_referrer/pull/16#discussion_r770356612, this implementation currently is NOT thread-safe.

~Related to that https://github.com/lschmierer/android_play_install_referrer/issues/18 needs to be addressed.~

lschmierer commented 2 years ago

I have pushed a new thread-safe solution to master and published as 0.2.0