Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required links #49

Open
emanuelzallikodelabs opened this issue Jun 29, 2023 · 0 comments
Open

Required links #49

emanuelzallikodelabs opened this issue Jun 29, 2023 · 0 comments

Comments

@emanuelzallikodelabs
Copy link

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;
}

// 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;
});

}

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant