How to sign AAR with some Separate key in Android?

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

I'm currently developing a .AAR android library and I would like to sign the released library with my own key so that I can determine if a fake aar with the same name and functionality has been released by mine or not.

I also want to be able to check the authenticity of my library programmatically, even if a fakely-build one, is forging just part of the functionality of my aar file.

we are publishing this library to some of our business partners and they are going to integrate it into their apps and publish them to public markets.

Current Scenario: Using PackageInfo returns the key of APP code nor the library code.
We need: First Sign AAR library and return its signature if someone uses this library in its code.
Note: Tried jarsigner but it's verification by some external command, I need internally return in code.
 
I moved this to the Software Development forum for more specific traffic.
 
The link is for this thread, which is now in the Software Development forum. What happens when you tap it?
 
I don't quite understand the problem. The link is for the thread you created. I moved the thread to the Software Development forum, so that people who frequently look in that forum (i.e., people who would be more likely to help out with your problem) can see it more prominently.

If you want the link for the Software Development forum, it's this: https://forums.androidcentral.com/software-development-hacking/. Or you could simply click the link right above the thread title (if you're on the desktop forums website).
 

Forum statistics

Threads
955,181
Messages
6,964,011
Members
3,163,212
Latest member
kerestetucari