Skip to content

obfuscate does not apply. #71

@keiabc

Description

@keiabc

Build was successful.

Orginal Code

import io.michaelrocks.paranoid.Obfuscate;

@Obfuscate
public class MainActivity extends ReactActivity {
  TimerTask timerTask;
  Timer timer;
  static int ERR_SUCCESS = 0;
  String lazy_PendingIntent = "";

  /**
   * Returns the name of the main component registered from JavaScript. This is
   * used to schedule
   * rendering of the component.
   */
  @Override
  protected String getMainComponentName() {
    return "myApp";
  }

Reversing APK

package p016io.myApp;

import android.content.Intent;
import android.os.Bundle;
import androidx.core.splashscreen.SplashScreen;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.modules.core.DeviceEventManagerModule;
import java.util.Timer;
import java.util.TimerTask;

/* renamed from: io.myabcwallet.mpc.MainActivity */
/* loaded from: classes7.dex */
public class MainActivity extends ReactActivity {
    String lazy_PendingIntent = "";
    Timer timer;
    TimerTask timerTask;
    static int ERR_SUCCESS = 0;

    @Override // com.facebook.react.ReactActivity
    protected String getMainComponentName() {
        return "myApp";
    }

As you can see, the package was not included in the apk.
It seems that the annotation is not applied due to some problem.
Is there anything I need to add to build.gradle?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions