GithubHelp home page GithubHelp logo

Comments (5)

talsec-app avatar talsec-app commented on July 20, 2024

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.

mifhai avatar mifhai commented on July 20, 2024

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.

talsec-app avatar talsec-app commented on July 20, 2024

@mifhai
Thank you, we will look into that.

from free-rasp-flutter.

talsec-app avatar talsec-app commented on July 20, 2024

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.

talsec-app avatar talsec-app commented on July 20, 2024

Hello @mifhai ,
did the proposed solution work? Thank you.

Kind regards,
Talsec team

from free-rasp-flutter.

Related Issues (20)

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.