Comments (5)
Hi guys, I apologize for the delay in answering.
Yeah, now it's working. I also updated the package to the last version (4.0.0).
Thanks!
from free-rasp-flutter.
Hello @GustavoFigueira
That shouldn't be necessary - they are already declared in plugin.
Thanks for issue though, we will take look at it.
Jaroslav from Talsec Team.
from free-rasp-flutter.
Hello @GustavoFigueira
Sorry for my previous answer but after you replied I have noticed that maven dependency will be needed.
Maven dependecies:
maven { url "https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp" }
maven { url "https://developer.huawei.com/repo/" }
// If you use freeRASP 4.0.0 then also this:
maven { url 'https://jitpack.io/' }
By the way, is there any reason you have your own dependecy declared? They are inherited from plugin and also works in CI/CD as well, so something like this is not necessary:
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:-dev'
from free-rasp-flutter.
Oh ok!
That's my build.gradle
dependency config:
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation fileTree(dir: 'libs', include: ['.jar', '.aar'])
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation 'com.google.android.gms:play-services-tagmanager:18.0.2'
// Talsec Release
releaseImplementation 'com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:-release'
// Talsec Debug
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:-dev'
}
And the full log from build:
$ flutter pub get
Running "flutter pub get" in ***...
Warning: You are using these overridden dependencies:
! intl 0.18.0
Running "flutter pub get" in ***... 52.4s
$ flutter build appbundle --release --flavor prod --build-number $BUILD_NUMBER --target=lib/app/production.dart --target-platform=android-arm,android-arm64,android-x64
πͺ Building with sound null safety πͺ
Running Gradle task 'bundleProdRelease'...
Checking the license for package SDK Patch Applier v4 in /home/dev/android/licenses
License for package SDK Patch Applier v4 accepted.
Preparing "Install SDK Patch Applier v4 (revision: 1)".
"Install SDK Patch Applier v4 (revision: 1)" ready.
Installing SDK Patch Applier v4 in /home/dev/android/patcher/v4
"Install SDK Patch Applier v4 (revision: 1)" complete.
"Install SDK Patch Applier v4 (revision: 1)" finished.
Checking the license for package NDK (Side by side) 25.1.8937393 in /home/dev/android/licenses
License for package NDK (Side by side) 25.1.8937393 accepted.
Preparing "Install NDK (Side by side) 25.1.8937393 (revision: 25.1.8937393)".
"Install NDK (Side by side) 25.1.8937393 (revision: 25.1.8937393)" ready.
Installing NDK (Side by side) 25.1.8937393 in /home/dev/android/ndk/25.1.8937393
"Install NDK (Side by side) 25.1.8937393 (revision: 25.1.8937393)" complete.
"Install NDK (Side by side) 25.1.8937393 (revision: 25.1.8937393)" finished.
Checking the license for package CMake 3.10.2.4988404 in /home/dev/android/licenses
License for package CMake 3.10.2.4988404 accepted.
Preparing "Install CMake 3.10.2.4988404 (revision: 3.10.2)".
"Install CMake 3.10.2.4988404 (revision: 3.10.2)" ready.
Installing CMake 3.10.2.4988404 in /home/dev/android/cmake/3.10.2.4988404
"Install CMake 3.10.2.4988404 (revision: 3.10.2)" complete.
"Install CMake 3.10.2.4988404 (revision: 3.10.2)" finished.
Checking the license for package Android Emulator in /home/dev/android/licenses
License for package Android Emulator accepted.
Preparing "Install Android Emulator (revision: 31.3.[14](https://gitlab.com/***/-/jobs/***#L14))".
"Install Android Emulator (revision: 31.3.14)" ready.
Installing Android Emulator in /home/dev/android/emulator
"Install Android Emulator (revision: 31.3.14)" complete.
"Install Android Emulator (revision: 31.3.14)" finished.
Checking the license for package Android SDK Tools in /home/dev/android/licenses
License for package Android SDK Tools accepted.
Preparing "Install Android SDK Tools (revision: 26.1.1)".
"Install Android SDK Tools (revision: 26.1.1)" ready.
Installing Android SDK Tools in /home/dev/android/tools
"Install Android SDK Tools (revision: 26.1.1)" complete.
"Install Android SDK Tools (revision: 26.1.1)" finished.
Checking the license for package Android SDK Build-Tools 30.0.2 in /home/dev/android/licenses
License for package Android SDK Build-Tools 30.0.2 accepted.
Preparing "Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)".
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" ready.
Installing Android SDK Build-Tools 30.0.2 in /home/dev/android/build-tools/30.0.2
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" complete.
"Install Android SDK Build-Tools 30.0.2 (revision: 30.0.2)" finished.
Checking the license for package Android SDK Platform 33 in /home/dev/android/licenses
License for package Android SDK Platform 33 accepted.
Preparing "Install Android SDK Platform 33 (revision: 2)".
"Install Android SDK Platform 33 (revision: 2)" ready.
Installing Android SDK Platform 33 in /home/dev/android/platforms/android-33
"Install Android SDK Platform 33 (revision: 2)" complete.
"Install Android SDK Platform 33 (revision: 2)" finished.
Checking the license for package Android SDK Platform 29 in /home/dev/android/licenses
License for package Android SDK Platform 29 accepted.
Preparing "Install Android SDK Platform 29 (revision: 5)".
"Install Android SDK Platform 29 (revision: 5)" ready.
Installing Android SDK Platform 29 in /home/dev/android/platforms/android-29
"Install Android SDK Platform 29 (revision: 5)" complete.
"Install Android SDK Platform 29 (revision: 5)" finished.
Checking the license for package Android SDK Platform 30 in /home/dev/android/licenses
License for package Android SDK Platform 30 accepted.
Preparing "Install Android SDK Platform 30 (revision: 3)".
"Install Android SDK Platform 30 (revision: 3)" ready.
Installing Android SDK Platform 30 in /home/dev/android/platforms/android-30
"Install Android SDK Platform 30 (revision: 3)" complete.
"Install Android SDK Platform 30 (revision: 3)" finished.
Checking the license for package Android SDK Platform 32 in /home/dev/android/licenses
License for package Android SDK Platform 32 accepted.
Preparing "Install Android SDK Platform 32 (revision: 1)".
"Install Android SDK Platform 32 (revision: 1)" ready.
Installing Android SDK Platform 32 in /home/dev/android/platforms/android-32
"Install Android SDK Platform 32 (revision: 1)" complete.
"Install Android SDK Platform 32 (revision: 1)" finished.
Checking the license for package Android SDK Platform 28 in /home/dev/android/licenses
License for package Android SDK Platform 28 accepted.
Preparing "Install Android SDK Platform 28 (revision: 6)".
"Install Android SDK Platform 28 (revision: 6)" ready.
Installing Android SDK Platform 28 in /home/dev/android/platforms/android-28
"Install Android SDK Platform 28 (revision: 6)" complete.
"Install Android SDK Platform 28 (revision: 6)" finished.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeProdReleaseAssets'.
> Could not resolve all files for configuration ':app:prodReleaseRuntimeClasspath'.
> Could not resolve com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:4.2.3-release.
Required by:
project :app
> Skipped due to earlier error
> Could not resolve com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:4.2.3-release.
Required by:
project :app
> Skipped due to earlier error
> Could not resolve com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:4.2.3-release.
Required by:
project :app > project :freerasp
> Skipped due to earlier error
* 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 6m 58s
Running Gradle task 'bundleProdRelease'... 4[19](https://gitlab.com/***/-/jobs/***#L19).4s
Gradle task bundleProdRelease failed with exit code 1
Cleaning up file based variables
00:01
ERROR: Job failed: exit code 1
from free-rasp-flutter.
Hello @GustavoFigueira , did the solution help? Are you experiencing any issues now?
Kind regards,
MatΓΊΕ‘, Talsec dev
from free-rasp-flutter.
Related Issues (20)
- [Flutter project] APK file increased by 40% with FreeRASP package HOT 6
- Frida and App Integrity detection not working as expected HOT 6
- Android build fails since March 4th, 14 o'clock HOT 3
- bug: Typecast error (int to String) in debug mode HOT 4
- bug: PlatformException - dlopen failed: library "libsecurity.so" not found HOT 4
- Device Id Issue HOT 4
- Feature: get currentThreatStatus / await freeRasp.checksComplete.future HOT 2
- Freerasp causes error with SharedPreferences at start and application does not run in production HOT 5
- iOS App crash in the release mode after adding Freerasp:3.0.2 HOT 2
- Use of Outdated Vulnerable Component: [email protected] HOT 1
- FAILURE: Build failed with an exception. HOT 2
- The package is susceptible to smali changes. HOT 6
- Free-RASP-Flutter Security Delay Issue HOT 8
- When the app is minimized and resumed before the checks, they do not occur. HOT 5
- only Xcode 13 required to be able to build the application. HOT 4
- Crash on iOS device with 6.2.0 HOT 6
- onAppIntegrity after releasing playstore HOT 7
- Emulator Detection / Root detection on Android emulator HOT 3
- Which callback? HOT 3
- Android app not compilable with AGP >= 8.0.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from free-rasp-flutter.