You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Update the GodotHost interface to support signing and verifying Android apks
Update the export logic to enable apk generation and signing for Android editor builds Note: Only legacy builds are supported. Gradle builds are not supported at this point in time.
This commit is contained in:
@@ -75,6 +75,8 @@ private:
|
||||
jmethodID _end_benchmark_measure = nullptr;
|
||||
jmethodID _dump_benchmark = nullptr;
|
||||
jmethodID _has_feature = nullptr;
|
||||
jmethodID _sign_apk = nullptr;
|
||||
jmethodID _verify_apk = nullptr;
|
||||
|
||||
public:
|
||||
GodotJavaWrapper(JNIEnv *p_env, jobject p_activity, jobject p_godot_instance);
|
||||
@@ -116,6 +118,10 @@ public:
|
||||
|
||||
// Return true if the given feature is supported.
|
||||
bool has_feature(const String &p_feature) const;
|
||||
|
||||
// Sign and verify apks
|
||||
Error sign_apk(const String &p_input_path, const String &p_output_path, const String &p_keystore_path, const String &p_keystore_user, const String &p_keystore_password);
|
||||
Error verify_apk(const String &p_apk_path);
|
||||
};
|
||||
|
||||
#endif // JAVA_GODOT_WRAPPER_H
|
||||
|
||||
Reference in New Issue
Block a user