isRunningInTestFlight method

  1. @override
Future<bool?> isRunningInTestFlight()
override

Checks if the app in the testflight. Returns a bool indicating whether app in the testflight for ios.

Implementation

@override
Future<bool?> isRunningInTestFlight() async {
  if (Platform.isIOS) {
    final version = await methodChannel.invokeMethod('isRunningInTestFlight');
    return version;
  } else {
    return false;
  }
}