summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhuya <fhuya@google.com>2020-02-24 22:38:37 -0500
committerfhuya <fhuya@google.com>2020-02-24 22:38:37 -0500
commit17303db8e6ffee949043111299159e4a0f66fe2a (patch)
treec99972db40f6c6acffd322d0e830bf07eaa68483
parent4a47a83646b7fb21b5cbb5d3e24faeeeb1925207 (diff)
downloadgodot-android-samples-17303db8e6ffee949043111299159e4a0f66fe2a.tar.gz
godot-android-samples-17303db8e6ffee949043111299159e4a0f66fe2a.tar.bz2
godot-android-samples-17303db8e6ffee949043111299159e4a0f66fe2a.zip
Update sample project based on feedback to the Android plugin refactor PR.
-rw-r--r--hello_world/demo/export_presets.cfg2
-rw-r--r--hello_world/plugin/libs/godot-lib.release.aarbin9139166 -> 9149797 bytes
-rw-r--r--hello_world/plugin/src/main/AndroidManifest.xml4
3 files changed, 3 insertions, 3 deletions
diff --git a/hello_world/demo/export_presets.cfg b/hello_world/demo/export_presets.cfg
index dd2a8eb..45a64ca 100644
--- a/hello_world/demo/export_presets.cfg
+++ b/hello_world/demo/export_presets.cfg
@@ -22,7 +22,7 @@ one_click_deploy/clear_previous_install=false
custom_template/debug=""
custom_template/release=""
custom_template/use_custom_build=true
-custom_template/v2_plugins="HelloWorld"
+custom_template/plugins="HelloWorld"
command_line/extra_args=""
version/code=1
version/name="1.0"
diff --git a/hello_world/plugin/libs/godot-lib.release.aar b/hello_world/plugin/libs/godot-lib.release.aar
index ee116a4..4762e4f 100644
--- a/hello_world/plugin/libs/godot-lib.release.aar
+++ b/hello_world/plugin/libs/godot-lib.release.aar
Binary files differ
diff --git a/hello_world/plugin/src/main/AndroidManifest.xml b/hello_world/plugin/src/main/AndroidManifest.xml
index 63ec50f..8bb5fa4 100644
--- a/hello_world/plugin/src/main/AndroidManifest.xml
+++ b/hello_world/plugin/src/main/AndroidManifest.xml
@@ -5,7 +5,7 @@
<!--
Plugin metadata:
- - In the `android:name` attribute, the `org.godotengine.plugin.v2` prefix
+ - In the `android:name` attribute, the `org.godotengine.plugin.v1` prefix
is required so Godot can recognize the project as a valid Godot
Android plugin. The plugin name following the prefix should match the value
of the plugin name returned by the plugin initializer.
@@ -14,7 +14,7 @@
initializer.
-->
<meta-data
- android:name="org.godotengine.plugin.v2.HelloWorld"
+ android:name="org.godotengine.plugin.v1.HelloWorld"
android:value="fhuyakou.godot.plugin.android.helloworld.HelloWorldPlugin" />
</application>
</manifest>