Prevent Piracy of Extensions

Now days paid extensions are being sold and distributed illegally in many Whatsapp and Telegram groups. This has to be stopped. So finally I just developed a library that will help @ExtensionDevelopers to prevent the piracy :slightly_smiling_face:

How To Use ?

Step 1 :

Download the jar file.

W3Schools

Step 2 :

import the library in your project.

import in.techybro.antipiracy.AntiPiracy;

Step 3 :

Create a object of Antipiracy class and pass the application context in it.

AntiPiracy antipiracy = new AntiPiracy(context);

Step 4 :

Call .validate() method to start authentication. It takes a url String as arguement. See this example url

antipiracy.validate("https://www.example.com/users.txt");

Step 5 :

Implement listeners to it. String s you can find what went Wrong

antipiracy.setOnResultListener(new AntiPiracy.OnResultListener() {
            @Override
            public void OnAuthFailed(String s) {

            }

            @Override
            public void OnAuthSuccessFul() {

            }
        });

Bug Found ?

Please let me now know if you find any bug in it.

I know its not fully secure. But I think its the most secured as of now.

19 Likes

Wow, :grinning:
this Great and Wonderfull :grinning:

Thanks :pray:

1 Like

Thanks for this awesome library, Used it in my extensions and it works like a charm !

:smiling_face_with_three_hearts:

1 Like

But still someone will come, get the code by decompiling extension and compile it again by removing that piece of code.
You/We can't do anything.:relieved:

And some brave boys will even upload its video on YouTube and give you credit of it. :relaxed:

2 Likes

Actually, users Its far better than just facing resellers

1 Like

Yeah that's partially secure now.

2 Likes

Is it working now Prevent piracy of extension?

1 Like

Hey @OXOFLIX. I don't think it's working for the newer android versions. I will try to update the library ASAP

1 Like