setAllowSharingStoreAccount static method

  1. @Deprecated('Configure behavior through the RevenueCat dashboard instead.')
Future<void> setAllowSharingStoreAccount(
  1. bool allowSharing
)

Deprecated. Configure behavior through the RevenueCat dashboard instead. Set this to true if you are passing in an appUserID but it is anonymous.

This is true by default if you didn't pass an appUserID. If a user tries to purchase a product that is active on the current app store account, we will treat it as a restore and alias the new ID with the previous id.

Implementation

@Deprecated('Configure behavior through the RevenueCat dashboard instead.')
static Future<void> setAllowSharingStoreAccount(bool allowSharing) =>
    _channel.invokeMethod(
      'setAllowSharingStoreAccount',
      {
        'allowSharing': allowSharing,
      },
    );