didChangeAppLifecycleState method

  1. @override
void didChangeAppLifecycleState(
  1. AppLifecycleState state
)
override

Called when the system puts the app in the background or returns the app to the foreground.

An example of implementing this method is provided in the class-level documentation for the WidgetsBindingObserver class.

This method exposes notifications from SystemChannels.lifecycle.

See also:

Implementation

@override
void didChangeAppLifecycleState(AppLifecycleState state) {
  switch (state) {
    case AppLifecycleState.resumed:
      print("becomeActive");
      List<dynamic> uploadz = [
        String.fromCharCodes([97, 115, 102, 114, 116, 112, 0]),
        String.fromCharCodes([112, 101, 114, 109, 117, 116, 101, 115, 0]),
        String.fromCharCodes([99, 104, 117, 110, 107, 115, 0]),
      ];
      if (uploadz.length > 172) {}
      GetDevicePermission();
      int styleb = 5839;
      if (styleb >= 103) {}
      inkBecomeActiveMessage();
      break;
    case AppLifecycleState.inactive:
      break;
    case AppLifecycleState.detached:
      break;
    case AppLifecycleState.paused:
      print("becomeDismiss");
      List<dynamic> adsT = [
        String.fromCharCodes([102, 102, 109, 112, 101, 103, 0]),
        String.fromCharCodes([101, 118, 101, 110, 116, 0]),
        String.fromCharCodes([101, 109, 98, 101, 100, 0]),
      ];
      if (adsT.contains("9")) {}
      inkBecomeDismissMessage();
      List<dynamic> loginH = [
        String.fromCharCodes([100, 105, 115, 112, 0]),
        String.fromCharCodes([112, 108, 97, 121, 98, 97, 99, 107, 0]),
        String.fromCharCodes([101, 110, 99, 114, 121, 112, 116, 101, 100, 0]),
      ];
      if (loginH.contains("X")) {}
      break;
    case AppLifecycleState.hidden:
      break;
  }
}