Skip to content

Not detected rooted device. #17

Description

@apoorvmishra94

I am checking in Android If device is rooted or not with this below code-

async checkDeviceSecurity() { try { const rootStatus = await DeviceSecurityDetect.isJailBreakOrRooted(); console.log("The device is | rootStatus: "+JSON.stringify(rootStatus)); console.log(The device is | Root/Jailbreak status: ${rootStatus.value ? 'Yes' : 'No'}`);

const pinStatus = await DeviceSecurityDetect.pinCheck();
console.log(`The device is | Secure lock enabled: ${pinStatus.value ? 'Yes' : 'No'}`);

} catch (error) {
console.error('The device is | Error checking device security:', error);
}
}`

And I am checking in a device which is rooted and I am able to detect the same device as rooted with other shell script.

but when I am using this plugin it returns device is not rooted.

Please help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingwontfixThis will not be worked on

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions