jeroentrappers / flutter_jailbreak_detection

Flutter jailbreak detection plugin
BSD 3-Clause "New" or "Revised" License
65 stars 103 forks source link

App crashing in rooted real device while trying to check Device is rooted or not. #46

Closed Zaveri21 closed 1 year ago

Zaveri21 commented 1 year ago

on app start i am checking iOS device is rooted or not.

bool isDeviceRoot = devicePlatform == "ios"
          ? await FlutterJailbreakDetection.jailbroken
          : await FlutterJailbreakDetection.developerMode;

App crashing with below error. -32000 Bad state: The client closed with pending request "resume".

configuration

@tvh @jeroentrappers @xPutnikx @vasilich6107 @kmoorejr9 thanks in advanced.

vasilich6107 commented 1 year ago

I'm just a random contributor)

Zaveri21 commented 1 year ago

on app start i am checking iOS device is rooted or not.

bool isDeviceRoot = devicePlatform == "ios"
          ? await FlutterJailbreakDetection.jailbroken
          : await FlutterJailbreakDetection.developerMode;

App crashing with below error. -32000 Bad state: The client closed with pending request "resume".

configuration

  • Flutter 3.3.9
  • Dart 2.18.5
  • Xcode 14.3
  • Android Dolphin
  • mac os - Ventura 13.3.1

@tvh @jeroentrappers @xPutnikx @vasilich6107 @kmoorejr9 thanks in advanced.

After following steps i resolved issue 🚀.

1. flutter pub cache clean
2. flutter clean && flutter pub get
2. flutter run