Giter Site home page Giter Site logo

talsec / free-rasp-reactnative Goto Github PK

View Code? Open in Web Editor NEW
63.0 63.0 7.0 26.61 MB

React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.

Home Page: https://github.com/talsec/Free-RASP-Community

License: MIT License

Kotlin 1.67% JavaScript 1.21% Ruby 0.69% Starlark 0.12% Java 3.28% CMake 0.06% C++ 7.42% Swift 1.11% C 78.97% Objective-C 1.03% Objective-C++ 0.92% TypeScript 3.52%
freerasp react-native react-native-app-security react-native-app-shielding react-native-application-security react-native-frida react-native-library react-native-plugin react-native-rasp react-native-reverse-engineering react-native-root-detection react-native-security react-native-tampering react-native-tampering-detection

free-rasp-reactnative's People

Contributors

gansu18 avatar matussikyna avatar msikyna avatar sirionrazzer avatar syakymchuk avatar tompsota avatar xprikryl2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

free-rasp-reactnative's Issues

Execution failed for task ':freerasp-react-native:minifyReleaseWithR8'.

Bug Description
on ./gradlew app:assembleRelease I am getting following error

Execution failed for task ':freerasp-react-native:minifyReleaseWithR8'.

A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
Compilation failed to complete, origin: /../node_modules/freerasp-react-native/android/build/tmp/kotlin-classes/release/com/freeraspreactnative/Threat.class

RASP Version Info

  • Version of freeRASP: 3.7.0

React native version info

  • "react": "18.2.0",
  • "react-native": "0.73.6",

Unofficial store event triggered for Firebase App Distribution

Describe the bug
In my setup, I added supportedAlternativeStores: ['dev.firebase.appdistribution']. But on running the app, the unofficialStore event was triggered.

To Reproduce

  • On set up, add supportedAlternativeStores: ['dev.firebase.appdistribution'] in androidConfig.

Expected behavior
Installing the app from Firebase App tester should not trigger unofficialStore event.

Please complete the following information:

  • Device: TECNO CC7
  • OS version: ANDROID 9
  • Version of freeRASP: 3.4.0

Could not find com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:9.0.0.

Describe the bug
When building android with React Native + Expo, an Exception occurs.

`Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:9.0.0.
Searched in the following locations:
- file:/project_path/node_modules/react-native/android/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/9.0.0/TalsecSecurity-Community-ReactNative-9.0.0.pom
- file:/project_path/node_modules/jsc-android/dist/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/9.0.0/TalsecSecurity-Community-ReactNative-9.0.0.pom
- https://dl.google.com/dl/android/maven2/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/9.0.0/TalsecSecurity-Community-ReactNative-9.0.0.pom
- https://repo.maven.apache.org/maven2/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/9.0.0/TalsecSecurity-Community-ReactNative-9.0.0.pom
- https://www.jitpack.io/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/9.0.0/TalsecSecurity-Community-ReactNative-9.0.0.pom
- file:/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/9.0.0/TalsecSecurity-Community-ReactNative-9.0.0.pom
- https://oss.sonatype.org/content/repositories/snapshots/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/9.0.0/TalsecSecurity-Community-ReactNative-9.0.0.pom
Required by:
project :app > project :freerasp-react-native`

Issue on IOS event detection

After the app is installed for the first time the event are triggered. But if the close and restarted the app its not detecting the threat.

Can i get some help on this or is there any config am missing

[Feature Request] Developer Mode Detection

Is your feature request related to a problem? Please describe.
An extra layer of security can be added to this awesome package by supporting detecting Developer Mode. This is useful and much needed feature to secure app's data.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Problem react-native 0.68.6 ios compile

No work in ios with multi tarjets

Multiple commands produce '/Users/pervasive/Library/Developer/Xcode/DerivedData/ramon-guecijowjmmrnafxmvkqpjpjlotr/Build/Products/Debug-iphonesimulator/freerasp-react-native/freerasp_react_native.framework/Headers/CryptoBridgingHeader.h'

Adding support for Expo SDK.

Is your feature request related to a problem? Please describe.
Those applications which is using ExpoSDK is dependent on build-config to change the minSdkVersion 23 as briefed in setup dependencies: https://www.npmjs.com/package/freerasp-react-native#step-2-set-up-the-dependencies.

Before ExpoSDK:
[RUN_GRADLEW] > Task :app:processDebugMainManifest [RUN_GRADLEW] FAILED [RUN_GRADLEW] See https://developer.android.com/r/studio-ui/build/manifest-merger for more information about the manifest merger. [RUN_GRADLEW] /private/var/folders/fn/m4xr_x2s45gcfczl9txh02f80000gn/T/eas-build-local-nodejs/9a2469c8-7e79-4e02-9ad7-c3060e72ad53/build/android/app/src/debug/AndroidManifest.xml Error: [RUN_GRADLEW] uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library [:freerasp-react-native] /private/var/folders/fn/m4xr_x2s45gcfczl9txh02f80000gn/T/eas-build-local-nodejs/9a2469c8-7e79-4e02-9ad7-c3060e72ad53/build/node_modules/freerasp-react-native/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 21 [RUN_GRADLEW] Suggestion: use a compatible library with a minSdk of at most 21, [RUN_GRADLEW] or increase this project's minSdk version to at least 23, [RUN_GRADLEW] or use tools:overrideLibrary="com.freeraspreactnative" to force usage (may lead to runtime failures) [RUN_GRADLEW] FAILURE: Build failed with an exception. [RUN_GRADLEW] * What went wrong: [RUN_GRADLEW] Execution failed for task ':app:processDebugMainManifest'. [RUN_GRADLEW] > Manifest merger failed : uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library [:freerasp-react-native] /private/var/folders/fn/m4xr_x2s45gcfczl9txh02f80000gn/T/eas-build-local-nodejs/9a2469c8-7e79-4e02-9ad7-c3060e72ad53/build/node_modules/freerasp-react-native/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 21 [RUN_GRADLEW] Suggestion: use a compatible library with a minSdk of at most 21, [RUN_GRADLEW] or increase this project's minSdk version to at least 23, [RUN_GRADLEW] or use tools:overrideLibrary="com.freeraspreactnative" to force usage (may lead to runtime failures) [RUN_GRADLEW] * Try: [RUN_GRADLEW] > Run with --stacktrace option to get the stack trace. [RUN_GRADLEW] > Run with --info or --debug option to get more log output. [RUN_GRADLEW] > Run with --scan to get full insights. [RUN_GRADLEW] * Get more help at https://help.gradle.org [RUN_GRADLEW] BUILD FAILED in 1m 7s

Describe the solution you'd like
Expo is widely accepted by the React Native Community and may open a gateway for mass adoption. I hope the team will accept my sincere request to support Expo.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Android Force close on AAB version after uploaded to Play Store

Describe the bug
I've tried to catch 'appIntegrity' event. And it's work well on my release apk version. But once i build it to aab version, it fails and make my app force close.

To Reproduce
Build apk with: ./gradlew assembleRelease
Build aab with: ./gradlew bundleRelease

Try install my apk version -> works well
Try to install my aab version by upload it to Play Store -> Force close

Expected behavior
App not force close

Screenshots

Please complete the following information:

  • Device: [e.g.OPPO F11, SAMSUNG S21 FE]
  • OS version: [Android 13]
  • Version of freeRASP: [e.g. 3.1 or later]

Additional context

freerasp-react-native could not determine the react-native version used

Hi! ๐Ÿ‘‹

Firstly, thanks for your work on this project! ๐Ÿ™‚

Today I used patch-package to patch [email protected] for the project I'm working on.

After installing this package, I got this problem:

Could not determine the dependencies of task ':freerasp-react-native:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':freerasp-react-native:debugCompileClasspath'.
Could not find com.facebook.react:react-native:.
Required by:
project :freerasp-react-native

Here is the diff that solved my problem:

diff --git a/node_modules/freerasp-react-native/android/build.gradle b/node_modules/freerasp-react-native/android/build.gradle
index dc11f30..7bb74ed 100644
--- a/node_modules/freerasp-react-native/android/build.gradle
+++ b/node_modules/freerasp-react-native/android/build.gradle
@@ -83,7 +83,7 @@ dependencies {
   // For < 0.71, this will be from the local maven repo
   // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
   //noinspection GradleDynamicVersion
-  implementation "com.facebook.react:react-native"
+  implementation "com.facebook.react:react-native:0.70.3"
   implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
   implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:8.0.4"
 }

Error during Talsec Native plugin initialization - null

Describe the bug
Initialization working fine on debug build and I can show alert if there any threats, but when I try in release build the alert not showing & got an error log Error during Talsec Native plugin initialization - null.

To Reproduce
Using npx react-native log-android on release build to reproduce error log.

Expected behavior
Showing alert to block application flow if any threats detected just like in debug build.

Screenshots
Screenshot 2023-06-15 at 17 11 49

Please complete the following information:

  • Device: Pixel 3 (Emulator), Xperia 10 ii (Device)
  • OS version: Android 12
  • Version of freeRASP: 2.0.3
  • Version of React: 17.0.2
  • Version of React Native: 0.66.5

How do we use this in Class based component in React Native

Thank you for this excellent library. I have a Class based component in my project. I couldn't find any example of using it in Class components in the README file.

Could anyone point me to any guide on how to integrate in Class components?

Thanks

FreeRASP causes Runtime.getRuntime().exec("ping -c 1 www.google.com") to throw an error

Describe the bug
A third-party library we use uses Runtime.getRuntime().exec("ping -c 1 www.google.com") in Android(Java) to check the internet connection status, but when we initialize freeRASP throw useFreeRasp with only console.log for every action, the line throws an error java.io.IOException: Cannot run program "ping": error=2, No such file or directory .

To Reproduce
Add this function to an android module and expose it to the JS, initialize freeRASP then call the function

public Boolean isOnline() {
  try {
    Process p1 = Runtime.getRuntime().exec("ping -c 1 www.google.com");
    int returnVal = p1.waitFor();
    boolean reachable = (returnVal == 0);

    Log.e("CONNECTION STATUS:", reachable ? "Reachable" : "Not Reachable");
    return reachable;
  } catch (Exception e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
  }
  return false;
}

Expected behavior
isOnline should return true, as it does if we only commented useFreeRasp

Please complete the following information:

  • Device: Any Android device (tested example: OnePlus 8pro)
  • OS version: Any Android (tested example: Android 13, 10 and 11)
  • Version of freeRASP: "freerasp-react-native": "3.3.1"

Aditional Context
The command works if we changed ping to /system/bin/ping

Downgrading API level

Hey,
I was wondering if it's possible to use the library without having to use (API level 23) since my projects currently run on 21 and I am trying to avoid having to upgrade them.

Can I somehow use freeRASP 2.0.3 instead of 3+?

Could not find com.facebook.react:react-native

Could not determine the dependencies of task ':freerasp-react-native:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':freerasp-react-native:debugCompileClasspath'.
Could not find com.facebook.react:react-native:.
Required by:
project :freerasp-react-native

To Reproduce

react-native "0.70.4

Build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 33
ndkVersion = "21.4.7075529"
supportLibVersion = "27.0.0"
googlePlayServicesAuthVersion = "18.0.0" // Add this line
androidXCore = "1.7.0" // <-- Add this. Check versions here: https://developer.android.com/jetpack/androidx/releases/core
if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "24.0.8215888"
} else {
// Otherwise we default to the side-by-side NDK version from AGP.
ndkVersion = "21.4.7075529"
}
RNNKotlinVersion = "1.70.10"
}
repositories {
google()
maven { url 'https://plugins.gradle.org/m2/'}
}
dependencies {
classpath("com.android.tools.build:gradle:7.2.1")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:5.0.1")
classpath 'com.google.gms:google-services:4.3.10'
//classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.14.0, 0.99.99]'
// Add the Crashlytics Gradle plugin
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// Add the dependency for the Performance Monitoring plugin
classpath 'com.google.firebase:perf-plugin:1.4.1' // Performance Monitoring plugin

}

}
allprojects {
repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
maven {
url "$rootDir/../node_modules/react-native-background-fetch/android/libs"
}
mavenCentral {
// We don't want to fetch react-native from Maven Central as there are
// older versions over there.
content {
excludeGroup "com.facebook.react"
}
}
google()
exclusiveContent {
// We get React Native's Android binaries exclusively through npm,
// from a local Maven repo inside node_modules/react-native/.
// (The use of exclusiveContent prevents looking elsewhere like Maven Central
// and potentially getting a wrong version.)
filter {
includeGroup "com.facebook.react"
}
forRepository {
maven {
url "$rootDir/../node_modules/react-native/android"
}
}
maven { url 'https://www.jitpack.io' }
maven{url = uri("https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp")}
maven{url = uri("https://developer.huawei.com/repo/")}
maven{url = uri("https://jitpack.io")}
}
}
}

settings.gradle

rootProject.name = 'xxxx'
include ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android')
include ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android')
include ':react-native-background-fetch'
project(':react-native-background-fetch').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-fetch/android')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
include ':react-native-version-info'
project(':react-native-version-info').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-version-info/android')
include ':app', ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')
includeBuild('../node_modules/react-native-gradle-plugin')
if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
include(":ReactAndroid")
project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid')
include(":ReactAndroid:hermes-engine")
project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')
}

Not Working on Android after upgrading react native

Describe the bug
I'm unable to start my application in Android after updating react native to 0.71.14

To Reproduce
Update react native to 0.71.14 and run the application with free-rasp installed

Expected behavior
Application should work with free-rasp installed

Screenshots
None.

Please complete the following information:

  • Device: Android Redmi Note 10
  • OS version: 10
  • Version of freeRASP: ^3.4.0

Additional context
The error message that I'm getting when running yarn android is
`Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:8.3.0.
Searched in the following locations:
- https://oss.sonatype.org/content/repositories/snapshots/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/8.3.0/TalsecSecurity-Community-ReactNative-8.3.0.pom
- https://repo.maven.apache.org/maven2/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/8.3.0/TalsecSecurity-Community-ReactNative-8.3.0.pom
- file:/Users/imoneynew/Desktop/code/mobile-apps/frontend/mobile/merchant/node_modules/jsc-android/dist/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/8.3.0/TalsecSecurity-Community-ReactNative-8.3.0.pom
- https://dl.google.com/dl/android/maven2/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/8.3.0/TalsecSecurity-Community-ReactNative-8.3.0.pom
- https://www.jitpack.io/com/aheaditec/talsec/security/TalsecSecurity-Community-ReactNative/8.3.0/TalsecSecurity-Community-ReactNative-8.3.0.pom
Required by:
project :app > project :freerasp-react-native`

Getting "unofficialStore" check failed after publish on play store internal testing.

Steps I followed.

  1. Added configuration :

const raspConfig = {
androidConfig: {
packageName: BUNDLE_ID,
certificateHashes: [ SIGN_CERTIFICATE_HASH ],
},
iosConfig: {
appBundleId: BUNDLE_ID,
appTeamId: TEAM_ID,
},
watcherMail: WATCHER_MAIL,
isProd: true,
}

  1. Added hook
    useFreeRasp(raspConfig, actions)

  2. Checking on use effect.
    appChecks.forEach((item: any) => {
    if (item.status === 'nok') {

      Getting ====>  Unofficial Store ( NOK );
    

    }
    });

Everything else works fine.

Thanks.

Hooks config not detected in initial render for FRIDA

Describe the bug
I have implemented the Free-RASP in react native as per the example, But the Frida hook is detected in the fifth re-render of Free-RASP config, so the App is open (Launch screen shown) for some time before the Restricted Page is shown from our side according to the config.

Expected behavior
It should detect in the first render

Screenshots
image

Please complete the following information:

  • Device: MEMU PLAY Simulator
  • OS version: Android - 7.1.2
  • Version of freeRASP: 2.0.1

Package Size is concerning.

Is your feature request related to a problem? Please describe.

I have a limited understanding of packages, but I believe package size matters. While drafting this Unpacked Size is 11.8 MB while going through https://www.npmjs.com/package/freerasp-react-native?activeTab=code, I got to know, ios directory itself is about 11.2 MB while I plan to protect Android app.

Describe the solution you'd like
As per my limited understanding, for a npm package lib and other root files like package, readme, licence, src required until and unless some native android or ios specific functions is desired. Most of the package is already covered in the lib directory, which is required to be extended by app developers.

Removing and adding example, android and ios in .npmignore will remove these directories for npm directory and significantly improve the app size.

Additional context
Please correct me if I am wrong. For a package or app, every KB matters.

Increase in Build Size

Is your feature request related to a problem? Please describe.
After installing the library, the release apk size increases by three times, from 56 MB to 150 MB. Is this expected? I intend to use only the jailbreak and ssl pinning features.

Could not resolve all artifacts for configuration ':freerasp-react-native:classpath'.

Please help me out for below issue

A problem occurred configuring project ':freerasp-react-native'.

Could not resolve all artifacts for configuration ':freerasp-react-native:classpath'.
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0.
Required by:
project :freerasp-react-native
> Cannot choose between the following variants of org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- gradle70JavadocElements
- gradle70RuntimeElements
- gradle70SourcesElements
- javadocElements
- runtimeElements
- sourcesElements
All of them match the consumer attributes:
- Variant 'gradle70JavadocElements' capability org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- Unmatched attributes:
- Found org.gradle.category 'documentation' but wasn't required.
- Found org.gradle.docstype 'javadoc' but wasn't required.
- Required org.gradle.jvm.version '11' but no value provided.
- Required org.gradle.libraryelements 'jar' but no value provided.
- Found org.gradle.plugin.api-version '7.0' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Compatible attributes:
- Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'gradle70RuntimeElements' capability org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- Unmatched attributes:
- Found org.gradle.category 'library' but wasn't required.
- Found org.gradle.jvm.environment 'standard-jvm' but wasn't required.
- Found org.gradle.plugin.api-version '7.0' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'jvm' but wasn't required.
- Compatible attributes:
- Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
- Required org.gradle.jvm.version '11' and found compatible value '8'.
- Required org.gradle.libraryelements 'jar' and found compatible value 'jar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'gradle70SourcesElements' capability org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- Unmatched attributes:
- Found org.gradle.category 'documentation' but wasn't required.
- Found org.gradle.docstype 'sources' but wasn't required.
- Required org.gradle.jvm.version '11' but no value provided.
- Required org.gradle.libraryelements 'jar' but no value provided.
- Found org.gradle.plugin.api-version '7.0' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Compatible attributes:
- Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'javadocElements' capability org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- Unmatched attributes:
- Found org.gradle.category 'documentation' but wasn't required.
- Found org.gradle.docstype 'javadoc' but wasn't required.
- Required org.gradle.jvm.version '11' but no value provided.
- Required org.gradle.libraryelements 'jar' but no value provided.
- Found org.gradle.status 'release' but wasn't required.
- Compatible attributes:
- Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'runtimeElements' capability org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- Unmatched attributes:
- Found org.gradle.category 'library' but wasn't required.
- Found org.gradle.jvm.environment 'standard-jvm' but wasn't required.
- Found org.gradle.status 'release' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'jvm' but wasn't required.
- Compatible attributes:
- Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
- Required org.gradle.jvm.version '11' and found compatible value '8'.
- Required org.gradle.libraryelements 'jar' and found compatible value 'jar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'sourcesElements' capability org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- Unmatched attributes:
- Found org.gradle.category 'documentation' but wasn't required.
- Found org.gradle.docstype 'sources' but wasn't required.
- Required org.gradle.jvm.version '11' but no value provided.
- Required org.gradle.libraryelements 'jar' but no value provided.
- Found org.gradle.status 'release' but wasn't required.
- Compatible attributes:
- Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.

Unsupported Swift architecture

Describe the bug
Hello, I am having an error when trying to build using the last release (3.0.0) on a M1 Pro : Unsupported Swift architecture, Could not build Objective-C module 'freerasp_react_native'

Screenshots
image

Please complete the following information:

  • Device: iPhone 14 pro simulator
  • OS version: 16.4
  • Version of freeRASP: 3.0.0

Additional context
I tried the following :

  • EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64
  • config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
  • using Rosetta

[Info] How frequently are the checks performed ?

Thanks for this amazing library which includes multiple checks.
As there are listeners added, it should be periodically performing these checks. How frequently are the checks performed and also is there anyway we can configure how frequently are the checks performed ?

After I started using the app I injected Frida script and noticed the hooks action listener triggered close to 1min after the script is executed.

Getting several duplicate class error in modules bcpkix-jdk15on-1.56.0 and pkix-1.51.0 after installing freersap-react-native and building

Describe the bug
I am using react-native 0.69.9 and project works fine but after installing freersap-react-native and trying to build again after doing configuration I am getting duplicate class error

Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class org.spongycastle.cert.AttributeCertificateHolder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.AttributeCertificateIssuer found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.CertException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.CertIOException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.CertRuntimeException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.CertUtils found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.X509AttributeCertificateHolder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.X509CRLEntryHolder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.X509CRLHolder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cms.DefaultCMSSignatureEncryptionAlgorithmFinder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)

 Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 26s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/rajatbothra/Projects/StreakApp/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class org.spongycastle.cert.AttributeCertificateHolder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.AttributeCertificateIssuer found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.CertException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.CertIOException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.cert.CertRuntimeException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder$1$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder$DigestOutputStream found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JceAsymmetricKeyUnwrapper found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JceAsymmetricKeyWrapper found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JceGenericKey found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JceSymmetricKeyUnwrapper found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.JceSymmetricKeyWrapper found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.OperatorHelper found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.OperatorHelper$OpCertificateException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.operator.jcajce.OperatorUtils found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.MacDataGenerator found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS10CertificationRequest found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS10CertificationRequestBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS12MacCalculatorBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS12MacCalculatorBuilderProvider found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS12PfxPdu found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS12PfxPduBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS12SafeBag found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS12SafeBagBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS12SafeBagFactory found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS8EncryptedPrivateKeyInfo found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCSException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.PKCSIOException found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS10CertificationRequest found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS10CertificationRequestBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS12MacCalculatorBuilderProvider found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS12MacCalculatorBuilderProvider$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS12PBEInputDecryptorProviderBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS12PBEInputDecryptorProviderBuilder$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS12PBEInputDecryptorProviderBuilder$1$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.PKCS12PBEUtils found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.bc.PKCS12PBEUtils$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.jcajce.JcaPKCS10CertificationRequest found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.jcajce.JcaPKCS10CertificationRequestBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.jcajce.JcaPKCS12SafeBagBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.jcajce.JcaPKCS8EncryptedPrivateKeyInfoBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.jcajce.JcePKCS12MacCalculatorBuilder found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.jcajce.JcePKCS12MacCalculatorBuilder$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.jcajce.JcePKCS12MacCalculatorBuilderProvider found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.pkcs.jcajce.JcePKCS12MacCalculatorBuilderProvider$1 found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
Duplicate class org.spongycastle.tsp.TSPAlgorithms found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)

 Duplicate class org.spongycastle.tsp.TimeStampTokenInfo found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
 Duplicate class org.spongycastle.tsp.cms.CMSTimeStampedData found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
 Duplicate class org.spongycastle.tsp.cms.CMSTimeStampedDataGenerator found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
 Duplicate class org.spongycastle.tsp.cms.CMSTimeStampedDataParser found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)
 Duplicate class org.spongycastle.tsp.cms.CMSTimeStampedGenerator found in modules bcpkix-jdk15on-1.56.0 (com.madgag.spongycastle:bcpkix-jdk15on:1.56.0.0) and pkix-1.51.0 (com.madgag.spongycastle:pkix:1.51.0.0)

 
 Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

To Reproduce
Installing freersap-react-native on a react-native 0.69.9 version project.

Expected behavior
It should show either the issue mentioned or initialization Success or initialization error

Screenshots
If applicable, add screenshots to help explain your problem.

Please complete the following information:

  • Device: PIXEL 4A API 33
  • OS version: [e.g. iOS8.1]
  • Version of freeRASP: LATEST

Additional context
android/build.gradle

buildscript {
ext {
kotlin_version='1.6.10'
buildToolsVersion = "31.0.0"
minSdkVersion = 21
compileSdkVersion = 33
androidXCore = "1.6.0"
targetSdkVersion = 33
if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "24.0.8215888"
} else {
// Otherwise we default to the side-by-side NDK version from AGP.
ndkVersion = "21.4.7075529"
}
}
repositories {
mavenCentral()
google()

    maven { url "https://jitpack.io" }
} 
dependencies {
   
     classpath("com.android.tools.build:gradle:7.1.1")
    classpath("com.facebook.react:react-native-gradle-plugin")
    classpath("de.undercouch:gradle-download-task:5.0.1")
  
    classpath("com.google.gms:google-services:4.3.10")

    classpath('com.google.firebase:firebase-crashlytics-gradle:2.6.1')
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files'

    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

}

}

allprojects {
repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
mavenCentral {
// We don't want to fetch react-native from Maven Central as there are
// older versions over there.
content {
excludeGroup "com.facebook.react"
}
}

    google()
    jcenter()
    maven { url 'https://www.jitpack.io' }
     maven{url = uri("https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp")}
    maven{url = uri("https://developer.huawei.com/repo/")}
    maven{url = uri("https://jitpack.io")}
}

def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())

configurations.all {
    resolutionStrategy {
        force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION
            force 'androidx.core:core-ktx:1.6.0','com.facebook.react:react-native:'+ REACT_NATIVE_VERSION
             
    }
}
configurations.all {
    resolutionStrategy.force "com.google.android.material:material:1.5.0-alpha02"
}

}

multiple commands produce 'xcode/../../../deriveddata/debug-iphonesimulator/freerasp-react-native/freerasp_react_native.framework/headers/talsecruntime-swift.h'

Describe the bug
multiple commands produce 'xcode/deriveddata/debug-iphonesimulator/freerasp-react-native/freerasp_react_native.framework/headers/talsecruntime-swift.h'

To Reproduce
just add npm add library and pod install in ios folder

Expected behavior
build to be successful

Please complete the following information:

  • Device: iPhone 14 pro [simulator]
  • OS version: 14.6
  • Version of freeRASP: 3.1.0

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.