I have app A, which is free. I have app B, which is a donation app. I know that people pay $ 4 for coffee and get my app for free through other channels, but good.
I want to include additional features in Appendix A if Appendix B is legal from the market and paid.
So I was curious if I just changed the package name in the Market License code to check application B, even if application A runs it.
For example, this line is from the lvl library code:
mChecker = new LicenseChecker(ctx, new ServerManagedPolicy(ctx,
new AESObfuscator(SALT, ctx.getPackageName(), deviceId)),
BASE64_PUBLIC_KEY);
I want to replace ctx.getPackageName () with the package name from application B, which of course is my application, and I know. For instance:
mChecker = new LicenseChecker(ctx, new ServerManagedPolicy(ctx,
new AESObfuscator(SALT, com.something.app.b, deviceId)),
BASE64_PUBLIC_KEY);
- ?