summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@meta.com>2023-08-23 19:16:28 -0700
committerFredia Huya-Kouadio <fhuya@meta.com>2023-08-23 19:16:28 -0700
commitd2ab505421d02d862a7c370290a2e8cac7cd451a (patch)
treed9034735efba9054c0a23d74157100238a3d9439
parent91e24fe17791f432456f24e9dec781afc335f9b3 (diff)
downloadgodot-android-samples-d2ab505421d02d862a7c370290a2e8cac7cd451a.tar.gz
godot-android-samples-d2ab505421d02d862a7c370290a2e8cac7cd451a.tar.bz2
godot-android-samples-d2ab505421d02d862a7c370290a2e8cac7cd451a.zip
Update the sample `gdextension` config file to reflect feedback on the Android plugin refactor PR
See https://github.com/godotengine/godot/pull/80740#issuecomment-1690887240
-rw-r--r--plugins/hello_gdextension/demo/export_presets.cfg1
-rw-r--r--plugins/hello_gdextension/src/main/assets/addons/hello_gdextension_plugin/hello_gdextension.gdextension5
2 files changed, 2 insertions, 4 deletions
diff --git a/plugins/hello_gdextension/demo/export_presets.cfg b/plugins/hello_gdextension/demo/export_presets.cfg
index 8fcc7e7..2834d47 100644
--- a/plugins/hello_gdextension/demo/export_presets.cfg
+++ b/plugins/hello_gdextension/demo/export_presets.cfg
@@ -35,6 +35,7 @@ package/app_category=2
package/retain_data_on_uninstall=false
package/exclude_from_recents=false
package/show_in_android_tv=false
+package/show_in_app_library=true
package/show_as_launcher_app=false
launcher_icons/main_192x192=""
launcher_icons/adaptive_foreground_432x432=""
diff --git a/plugins/hello_gdextension/src/main/assets/addons/hello_gdextension_plugin/hello_gdextension.gdextension b/plugins/hello_gdextension/src/main/assets/addons/hello_gdextension_plugin/hello_gdextension.gdextension
index 176a194..e999039 100644
--- a/plugins/hello_gdextension/src/main/assets/addons/hello_gdextension_plugin/hello_gdextension.gdextension
+++ b/plugins/hello_gdextension/src/main/assets/addons/hello_gdextension_plugin/hello_gdextension.gdextension
@@ -2,10 +2,7 @@
entry_symbol = "example_library_init"
compatibility_minimum = 4.1
-
-[exportable]
-
-android=false
+android_aar_plugin = true
[libraries]