1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Add support to the Android editor for signing and verifying Android apks

- Apk signing and verification is enabled using the apksig library from ac5cbb07d8
This commit is contained in:
Fredia Huya-Kouadio
2024-08-26 11:12:50 -07:00
parent a5897d579b
commit 6a9c060883
124 changed files with 31172 additions and 0 deletions

View File

@@ -113,6 +113,10 @@ class FileAccessHandler(val context: Context) {
private fun hasFileId(fileId: Int) = files.indexOfKey(fileId) >= 0
fun canAccess(filePath: String?): Boolean {
return storageScopeIdentifier.canAccess(filePath)
}
/**
* Returns a positive (> 0) file id when the operation succeeds.
* Otherwise, returns a negative value of [Error].