setMaxTimesToShowPopup method

Future<void> setMaxTimesToShowPopup(
  1. int maxTime
)

Number of times to show in-app ratings pop-up. default value 3. Applicable exclusively to the Android platform.

Implementation

Future<void> setMaxTimesToShowPopup(int maxTime) async {
  if (Platform.isAndroid) {
    AppticsFlutterPlatform.instance.setMaxTimesToShowPopup(maxTime);
  } else {
    developer.log('method not available in iOS.', name: 'Apptics');
  }
}