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

Android implementation JailBreak Root detection #12

Open
CorentinSwiss4 opened this issue Dec 13, 2023 · 0 comments
Open

Android implementation JailBreak Root detection #12

CorentinSwiss4 opened this issue Dec 13, 2023 · 0 comments

Comments

@CorentinSwiss4
Copy link

Hello i try to implement the detection of jail break and rooted device, when i launch on iOS it's works but android there is a crash with "Could not check the device's Jailbreak or Root status. See inner exceptions for further details".
Implementations :

private async void CheckJailBreakRoot() { IJailbreakDetector _jbDetector = App.Services.GetRequiredService<IJailbreakDetector>(); if (_jbDetector.IsSupported()) { if (_jbDetector.IsRootedOrJailbrokenAsync().Result) { MainPage = new BlankShell(); return; } } }

Following information :

dot net maui 7
Android Api lvl 33 and 34 (pixel 8)

Could you please help me to debug ?

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