You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Android: Check for deprecated GodotPaymentV3 module, direct to new plugin
Fixes #38581.
This commit is contained in:
@@ -91,6 +91,13 @@ static void _initialize_java_modules() {
|
||||
|
||||
String m = mods[i];
|
||||
|
||||
// Deprecated in Godot 3.2.2, it's now a plugin to enable in export preset.
|
||||
if (m == "org/godotengine/godot/GodotPaymentV3") {
|
||||
WARN_PRINT("GodotPaymentV3 is deprecated and is replaced by the 'GodotPayment' plugin, which should be enabled in the Android export preset.");
|
||||
print_line("Skipping Android module: " + m);
|
||||
continue;
|
||||
}
|
||||
|
||||
print_line("Loading Android module: " + m);
|
||||
jstring strClassName = env->NewStringUTF(m.utf8().get_data());
|
||||
jclass singletonClass = (jclass)env->CallObjectMethod(cls, findClass, strClassName);
|
||||
|
||||
Reference in New Issue
Block a user