package_signature 1.0.1 package_signature: ^1.0.1 copied to clipboard
a easy way to get android package signature on flutter app.
package_signature #
a easy way to get android package signature on flutter app.
USAGE #
- get a platform signature object.
Signature? signature = await PackageSignature().signature;
- get sha1 or sha256 signature.
String sha256base64 = signature.sha256base64;
String sha256hex = signature.sha256hex;
Uint8List sha256bytes = signature.sha256byte;
String sha1base64 = signature.sha1base64;
String sha1hex = signature.sha1hex;
Uint8List sha1bytes = signature.sha1bytes;