mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-16 23:00:54 +02:00
feat(ci): test mobile targets (#378)
This commit is contained in:
1 parent
8bd80eb651
commit
d677f73495
13 files changed
+84
-16
No files matched your search
@@ -11,6 +11,6 @@ class ExamplePlugin: Plugin {
|
||||
}
|
||||
|
||||
@_cdecl("init_plugin_{{ plugin_name_snake_case }}")
|
||||
func initPlugin(name: SRString, webview: WKWebView?) {
|
||||
Tauri.registerPlugin(webview: webview, name: name.toString(), plugin: ExamplePlugin())
|
||||
func initPlugin() -> Plugin {
|
||||
return ExamplePlugin()
|
||||
}
|
||||
Reference in new issue
Block a user