Coder Social home page Coder Social logo

cordova-plugin-android-rootbeer's People

Contributors

caiomelo8 avatar karandpr avatar sujitsingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cordova-plugin-android-rootbeer's Issues

Newly added check in Rootbeer

Rootbeer has recently added check for Magisk application which was able to bypass security checks.
Can we implement that using latest Rootbeer changes?

Root detection is bypassed using the FRIDA tool and some other Root management apps.

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

Support for ES6 import format

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.

Unable to build in an ionic - cordova app

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]

Could not find com.github.scottyab:rootbeer:1a87fc43254349a7bfe72a8e57e8aa2662f07130

I've been using this plugin in an app for years now, but suddenly the Android build started failing with this error:

Captura de Tela 2022-10-14 às 10 50 41

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.