INNER CODE UNIT · Dart
setAllowSharingStoreAccount
RevenueCat/purchases-flutter · lib/purchases_flutter.dart:229
static Future<void> setAllowSharingStoreAccount(bool allowSharing) =>
_channel.invokeMethod(
'setAllowSharingStoreAccount',
{
'allowSharing': allowSharing,
},
);
/// Sets a function to be called on updated customer info.
///
/// The function is called right away with the latest customer info as soon
/// as it's set.
///
/// [customerInfoUpdateListener] CustomerInfo update listener.
static void addCustomerInfoUpdateListener(
CustomerInfoUpdateListener customerInfoUpdateListener,
) {
_customerInfoUpdateListeners.add(customerInfoUpdateListener);