Callback function of addCustomerInfoUpdateListener() is not called on hot restart #1192
Open
11 tasks done
Labels
bug
Something isn't working
Environment
flutter doctor
purchases-flutter
print('Some message.');
in the callback function ofaddCustomerInfoUpdateListener()
.Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Describe the bug
The callback function of
addCustomerInfoUpdateListener()
used to be called both on app start and on hot restart. I have confirmed it with purchases_flutter 8.1.0. I upgraded the package to 8.1.6 today and found it is no longer called on hot restart.Additional context
It is really inconvenient that I need to kill and rerun an app to avoid the issue in debugging.
It looks like the callback function is not called when
restorePurchases()
is executed after a hot restart either.The text was updated successfully, but these errors were encountered: