You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fun getAppSignatures(): List {
return try {
val packageName = packageName
val packageManager = packageManager
val packageInfo = packageManager.getPackageInfo(
packageName,
PackageManager.GET_SIGNING_CERTIFICATES
)
val signatures = packageInfo.signingInfo?.apkContentsSigners
This is the current code ->
fun getAppSignatures(): List {
return try {
val packageName = packageName
val packageManager = packageManager
val signatures = packageManager.getPackageInfo(packageName,
PackageManager.GET_SIGNATURES).signatures
signatures.mapNotNull { hash(packageName, it.toCharsString()) }
} catch (e: PackageManager.NameNotFoundException) {
emptyList()
}
}
Video/Screenshot
Steps to reproduce
Details
Flutter version:
Dart version:
Platform:
Logs and stacktrace
Any possible solutions
What did you try to solve
Checklist for self-check
Added expected and actual behavior.
Added video or screenshot of bug.
Added isolated way to reproduce the bug.
Specified Flutter, Dart version and platforms.
Attached error code and logs.
All unspecified fields in the Issue description are deleted.
The text was updated successfully, but these errors were encountered:
Some one please create a pull request for this.
I am not able to do this. and this is working fine when we upgrade our compile options to 35 in android/build.gradle
Expected behavior
fun getAppSignatures(): List {
return try {
val packageName = packageName
val packageManager = packageManager
val packageInfo = packageManager.getPackageInfo(
packageName,
PackageManager.GET_SIGNING_CERTIFICATES
)
val signatures = packageInfo.signingInfo?.apkContentsSigners
}
This must be the code at -> otp_autofill-4.1.0/android/src/main/kotlin/ru/surfstudio/otp_autofill/AppSignatureHelper.kt:25:23
Actual behavior
This is the current code ->
fun getAppSignatures(): List {
return try {
val packageName = packageName
val packageManager = packageManager
val signatures = packageManager.getPackageInfo(packageName,
PackageManager.GET_SIGNATURES).signatures
signatures.mapNotNull { hash(packageName, it.toCharsString()) }
} catch (e: PackageManager.NameNotFoundException) {
emptyList()
}
}
Video/Screenshot
Steps to reproduce
Details
Flutter version:
Dart version:
Platform:
Logs and stacktrace
Any possible solutions
What did you try to solve
Checklist for self-check
The text was updated successfully, but these errors were encountered: