summaryrefslogtreecommitdiff
path: root/plugins/hello_signals/demo
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hello_signals/demo')
-rw-r--r--plugins/hello_signals/demo/addons/.gitignore2
-rw-r--r--plugins/hello_signals/demo/addons/hello_signals_plugin/export/.gdignore1
-rw-r--r--plugins/hello_signals/demo/addons/hello_signals_plugin/export/HelloSignals.debug.aarbin6826 -> 0 bytes
-rw-r--r--plugins/hello_signals/demo/addons/hello_signals_plugin/export/HelloSignals.release.aarbin6644 -> 0 bytes
-rw-r--r--plugins/hello_signals/demo/addons/hello_signals_plugin/export/hello_signals_editor_export_plugin.gd16
-rw-r--r--plugins/hello_signals/demo/addons/hello_signals_plugin/export/hello_signals_editor_plugin.gd17
-rw-r--r--plugins/hello_signals/demo/addons/hello_signals_plugin/interface/hello_signals_plugin.gd27
-rw-r--r--plugins/hello_signals/demo/addons/hello_signals_plugin/plugin.cfg7
-rw-r--r--plugins/hello_signals/demo/export_presets.cfg6
-rw-r--r--plugins/hello_signals/demo/project.godot2
10 files changed, 7 insertions, 71 deletions
diff --git a/plugins/hello_signals/demo/addons/.gitignore b/plugins/hello_signals/demo/addons/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/plugins/hello_signals/demo/addons/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/.gdignore b/plugins/hello_signals/demo/addons/hello_signals_plugin/export/.gdignore
deleted file mode 100644
index 8b13789..0000000
--- a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/.gdignore
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/HelloSignals.debug.aar b/plugins/hello_signals/demo/addons/hello_signals_plugin/export/HelloSignals.debug.aar
deleted file mode 100644
index d241ab1..0000000
--- a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/HelloSignals.debug.aar
+++ /dev/null
Binary files differ
diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/HelloSignals.release.aar b/plugins/hello_signals/demo/addons/hello_signals_plugin/export/HelloSignals.release.aar
deleted file mode 100644
index 6dae345..0000000
--- a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/HelloSignals.release.aar
+++ /dev/null
Binary files differ
diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/hello_signals_editor_export_plugin.gd b/plugins/hello_signals/demo/addons/hello_signals_plugin/export/hello_signals_editor_export_plugin.gd
deleted file mode 100644
index f0f3288..0000000
--- a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/hello_signals_editor_export_plugin.gd
+++ /dev/null
@@ -1,16 +0,0 @@
-@tool
-extends EditorExportPlugin
-
-func _supports_platform(platform):
- if platform is EditorExportPlatformAndroid:
- return true
- return false
-
-func _get_android_libraries(platform, debug):
- if debug:
- return PackedStringArray(["hello_signals_plugin/export/HelloSignals.debug.aar"])
- else:
- return PackedStringArray(["hello_signals_plugin/export/HelloSignals.release.aar"])
-
-func _get_name():
- return "Hello Signals plugin"
diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/hello_signals_editor_plugin.gd b/plugins/hello_signals/demo/addons/hello_signals_plugin/export/hello_signals_editor_plugin.gd
deleted file mode 100644
index 5c71083..0000000
--- a/plugins/hello_signals/demo/addons/hello_signals_plugin/export/hello_signals_editor_plugin.gd
+++ /dev/null
@@ -1,17 +0,0 @@
-@tool
-extends EditorPlugin
-
-# A class member to hold the export plugin during its lifecycle
-var export_plugin : EditorExportPlugin
-
-func _enter_tree():
- # Initialization of the plugin goes here.
- export_plugin = preload("hello_signals_editor_export_plugin.gd").new()
- add_export_plugin(export_plugin)
- pass
-
-
-func _exit_tree():
- # Clean-up of the plugin goes here.
- remove_export_plugin(export_plugin)
- export_plugin = null
diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/interface/hello_signals_plugin.gd b/plugins/hello_signals/demo/addons/hello_signals_plugin/interface/hello_signals_plugin.gd
deleted file mode 100644
index 0cc9c1d..0000000
--- a/plugins/hello_signals/demo/addons/hello_signals_plugin/interface/hello_signals_plugin.gd
+++ /dev/null
@@ -1,27 +0,0 @@
-class_name HelloSignalsPlugin extends Object
-
-## Interface used to access the functionality provided by the HelloSignals plugin
-
-var _hello_signals_singleton
-
-func _init():
- if Engine.has_singleton("HelloSignals"):
- _hello_signals_singleton = Engine.get_singleton("HelloSignals")
- else:
- printerr("Couldn't find HelloSignals singleton")
-
-
-## Register for the tiktok signals emitted
-func registerForTikTok(callback: Callable) -> void:
- if _hello_signals_singleton:
- _hello_signals_singleton.connect("TikTok", callback)
- else:
- printerr("Unable to register for tiktok")
-
-
-## Start tiktok if not started, otherwise stop it
-func toggleTikTok():
- if _hello_signals_singleton:
- _hello_signals_singleton.onButtonPressed()
- else:
- printerr("Unable to toggle tiktok")
diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/plugin.cfg b/plugins/hello_signals/demo/addons/hello_signals_plugin/plugin.cfg
deleted file mode 100644
index b32555f..0000000
--- a/plugins/hello_signals/demo/addons/hello_signals_plugin/plugin.cfg
+++ /dev/null
@@ -1,7 +0,0 @@
-[plugin]
-
-name="Hello Signals plugin"
-description="Showcases how to package a sample Android plugin"
-author="Fredia Huya-Kouadio"
-version=""
-script="export/hello_signals_editor_plugin.gd"
diff --git a/plugins/hello_signals/demo/export_presets.cfg b/plugins/hello_signals/demo/export_presets.cfg
index 1d4cb1f..44a32e5 100644
--- a/plugins/hello_signals/demo/export_presets.cfg
+++ b/plugins/hello_signals/demo/export_presets.cfg
@@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
-export_path="android/Hello Signals Plugin Demo.apk"
+export_path=""
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
@@ -22,7 +22,7 @@ gradle_build/use_gradle_build=true
gradle_build/export_format=0
gradle_build/min_sdk=""
gradle_build/target_sdk=""
-architectures/armeabi-v7a=true
+architectures/armeabi-v7a=false
architectures/arm64-v8a=true
architectures/x86=false
architectures/x86_64=false
@@ -34,6 +34,8 @@ package/signed=true
package/app_category=2
package/retain_data_on_uninstall=false
package/exclude_from_recents=false
+package/show_in_android_tv=false
+package/show_as_launcher_app=false
launcher_icons/main_192x192=""
launcher_icons/adaptive_foreground_432x432=""
launcher_icons/adaptive_background_432x432=""
diff --git a/plugins/hello_signals/demo/project.godot b/plugins/hello_signals/demo/project.godot
index 655eefc..637a2e0 100644
--- a/plugins/hello_signals/demo/project.godot
+++ b/plugins/hello_signals/demo/project.godot
@@ -12,7 +12,7 @@ config_version=5
config/name="Hello Signals Plugin Demo"
run/main_scene="res://Main.tscn"
-config/features=PackedStringArray("4.1")
+config/features=PackedStringArray("4.2")
config/icon="res://icon.png"
[debug]