Comments (5)
Hello @mifhai ,
could you please provide more information about the issue? We couldn't reproduce it. There may be some culprit within the proguar-rules.pro, can you share that file with us?
Thanks in advance,
Talsec Team
from free-rasp-flutter.
Thanks for the response and Sorry for the lack of information above.
sure this proguar-rules.pro in my project
Gson rules
Gson uses generic type information stored in a class file when working with fields. Proguard
removes such information by default, so configure it to keep all of it.
-keepattributes Signature
For using GSON @expose annotation
-keepattributes Annotation
Gson specific classes
-dontwarn sun.misc.**
#-keep class com.google.gson.stream.** { *; }
Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
-keep class * extends com.google.gson.TypeAdapter
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer
Prevent R8 from leaving Data object members always null
-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName ;
}
freeRASP
-keepclasseswithmembernames,includedescriptorclasses class * { native; }
from free-rasp-flutter.
@mifhai
Thank you, we will look into that.
from free-rasp-flutter.
Hello @mifhai , we have located the issue in our README (which we will update ASAP). The rule needs to be like this:
-keepclasseswithmembernames,includedescriptorclasses class * {
native *;
}
The asterisk (*
) after 'native' should fix the issue.
from free-rasp-flutter.
Hello @mifhai ,
did the proposed solution work? Thank you.
Kind regards,
Talsec team
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 8
- 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 5
- Device Id Issue HOT 5
- Feature: get currentThreatStatus / await freeRasp.checksComplete.future HOT 2
- Freerasp causes error with SharedPreferences at start and application does not run in production HOT 7
- How to know proper value for `AndroidConfig.supportedStores`? HOT 3
- How the 100k limitation for free tier is calculated? 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 8
- Emulator Detection / Root detection on Android emulator HOT 3
- Which callback? HOT 3
- Android app not compilable with AGP >= 8.0.0 HOT 2
- Android Google Play Automatic integrity protection support HOT 1
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.