Describe the solution you'd like
I'm not very familiar with the specifics of this API, but it seems like the endConnection call can be made in the success case for onInstallReferrerSetupFinished.
Describe alternatives you've considered
It's not terrible to leave as-is if you avoid running the native module outside of the first run based on local storage lookups, but since the docs specifically instruct doing this, it probably would be best to just close the connection.
Is your feature request related to a problem? Please describe. From Google's docs on the Play Install Referrer library:
Describe the solution you'd like I'm not very familiar with the specifics of this API, but it seems like the
endConnection
call can be made in the success case foronInstallReferrerSetupFinished
.Describe alternatives you've considered It's not terrible to leave as-is if you avoid running the native module outside of the first run based on local storage lookups, but since the docs specifically instruct doing this, it probably would be best to just close the connection.
Additional context N/A