You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error:
-canOpenURL: failed for URL: "undecimus://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
-canOpenURL: failed for URL: "sileo://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
-canOpenURL: failed for URL: "zbra://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
-canOpenURL: failed for URL: "filza://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
-canOpenURL: failed for URL: "activator://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
// Platform messages are asynchronous, so we initialize in an async method.
Future initPlatformState() async {
bool jailbreak;
bool developerMode;
// Platform messages may fail, so we use a try/catch PlatformException.
try {
jailbreak = await FlutterJailbreakDetection.jailbroken;
developerMode = await FlutterJailbreakDetection.developerMode;
} catch (_) {
jailbreak = true;
developerMode = true;
}
// If the widget was removed from the tree while the asynchronous platform
// message was in flight, we want to discard the reply rather than calling
// setState to update our non-existent appearance.
if (!mounted) return;
setState(() {
_jailbreak = jailbreak;
_developerMode = developerMode;
});
I get this error:
-canOpenURL: failed for URL: "undecimus://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
-canOpenURL: failed for URL: "sileo://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
-canOpenURL: failed for URL: "zbra://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
-canOpenURL: failed for URL: "filza://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
-canOpenURL: failed for URL: "activator://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
when I use this example:
bool _jailbreak = false;
bool _developerMode = false;
@OverRide
void initState() {
initPlatformState();
super.initState();
}
// Platform messages are asynchronous, so we initialize in an async method.
Future initPlatformState() async {
bool jailbreak;
bool developerMode;
// Platform messages may fail, so we use a try/catch PlatformException.
try {
jailbreak = await FlutterJailbreakDetection.jailbroken;
developerMode = await FlutterJailbreakDetection.developerMode;
} catch (_) {
jailbreak = true;
developerMode = true;
}
}
why are required wich I don’t need.
Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git
Tools • Dart 3.0.5 • DevTools 2.23.1
The text was updated successfully, but these errors were encountered: