javiersantos / PiracyChecker

An Android library that prevents your app from being pirated / cracked using Google Play Licensing (LVL), APK signature protection and more. API 14+ required.
Apache License 2.0
1.55k stars 174 forks source link

Custom activity is not working #97

Closed faizan1947 closed 3 years ago

faizan1947 commented 3 years ago

I want to show custom activity using this

private void verify() {
    checker = new PiracyChecker(this)
                .enableInstallerId(InstallerID.GOOGLE_PLAY).enableUnauthorizedAppsCheck().withActivityLayout(R.layout.aaa);

        checker.start();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        checker.destroy();
    }

but after using this default dialog is showing, Is anything i'm missng ?

jahirfiquitiva commented 3 years ago

you're missing the display method