INNER CODE UNIT · Dart

setLogLevel

RevenueCat/purchases-flutter · lib/purchases_flutter.dart:781

  static Future<void> setLogLevel(LogLevel level) => _channel.invokeMethod(
        'setLogLevel',
        {'level': level.name.toUpperCase()},
      );

  ///
  /// iOS only. Set this property to true *only* when testing the ask-to-buy / SCA purchases flow.
  /// More information: http://errors.rev.cat/ask-to-buy
  ///
  static Future<void> setSimulatesAskToBuyInSandbox(bool enabled) => _channel
      .invokeMethod('setSimulatesAskToBuyInSandbox', {'enabled': enabled});

  ///
  /// Set this property to your proxy URL before configuring Purchases *only* if you've received a proxy key value from your RevenueCat contact.
  ///
  static Future<void> setProxyURL(String url) =>
      _channel.invokeMethod('setProxyURLString', {'proxyURLString': url});

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…