karandpr / cordova-plugin-android-rootbeer Goto Github PK
View Code? Open in Web Editor NEWA wrapper plugin for rootbeer library. This library is used to detect root on Android Devices.
License: Apache License 2.0
A wrapper plugin for rootbeer library. This library is used to detect root on Android Devices.
License: Apache License 2.0
Rootbeer
has recently added check for Magisk
application which was able to bypass security checks.
Can we implement that using latest Rootbeer changes?
Dear Sir,
We have implemented the plugin in our Cordova mobile app to resolve the "Widened Application attack surface - Application allowed to run on a Rooted Device" security concern.
However, in normal cases, it is detecting whether the device is rooted or not. when they are bypassed using the FRIDA tool, able to do so.
kindly let me know if you can help us resolve the same.
Hoping for your positive response on this.
Thanks in advance.
Device name & manufacturer: All devices
Android version:9+
Cordova Version:12.0.0 ([email protected])
Cordova Android Version: 13
Android SDK: Giraffe | 2022.3.1 Patch 1
Plugin Version: latest
error when build in ionic
Hi,
Can we please implement support for ES6 import format for this plugin?
For reference you can reffer to this issue.
This will help us to import this plugin without compilation errors in Ionic/Angular(2 and above) without workaround.
Getting the following exception when trying to create the android build
Could not find method compile() for arguments [com.github.scottyab:rootbeer:0.0.8] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Using the following -
cordova-android 11
Java 11
Gradle 6.8.3
Intel Mac (v12.0.1)
Tried removing and re-adding the platform and the plugin multiple times.
Installed the plugin by running the command
ionic cordova plugin add [email protected]
I've been using this plugin in an app for years now, but suddenly the Android build started failing with this error:
I've done a quick analysis and realized that the original Scott's RootBeer library commit referenced in the build-extras.gradle
by the plugin references a commit that apparently doesn't exist anymore in Jitpack.
repositories{
maven { url 'https://jitpack.io' }
}
dependencies {
compile 'com.github.scottyab:rootbeer:1a87fc43254349a7bfe72a8e57e8aa2662f07130'
}
As a temporary fix, I swapped the commit in build-extras.gradle
for the most recent commit, which can be still be found on Jitpack. In the end, the build-extras.gradle
file stayed like this:
repositories{
maven { url 'https://jitpack.io' }
}
dependencies {
compile 'com.github.scottyab:rootbeer:091a157959'
}
Honestly, I haven't checked if there's any breaking changes between these commits, but it got my Android build working again, so I'll stick with that for now.
I'll keep this issue here for anyone who has the same trouble, but I plan of adding a PR to fix this, eventually.
how to CheckRootCloaking ionic 3 app
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.