Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Fields do not keep their initial values if they're default value #868

Open
pplithium opened this issue Apr 17, 2023 · 0 comments
Open

Comments

@pplithium
Copy link

We'd like to keep the default values for the fields in the code. This is due to the integrity checking of the code for another SDK vendor.

When, this:

.field static a:Landroid/content/SharedPreferences; = null

.field static b:Z = false

.field private static c:Landroid/media/MediaPlayer; = null

.field private static d:Landroid/media/MediaPlayer; = null

.field private static e:Landroid/media/MediaPlayer; = null

.field private static f:Landroid/media/MediaPlayer; = null

.field private static g:Z = false

becomes:

.field static a:Landroid/content/SharedPreferences;

.field static b:Z

.field private static c:Landroid/media/MediaPlayer;

.field private static d:Landroid/media/MediaPlayer;

.field private static e:Landroid/media/MediaPlayer;

.field private static f:Landroid/media/MediaPlayer;

.field private static g:Z

The SDK is throwing a repackaging exception and complains about the code being changed.

Is it possible to disable deleting the initialisations? Or at least to have an option to disable it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant