mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
feat(ci): test mobile targets (#378)
This commit is contained in:
committed by
GitHub
parent
8bd80eb651
commit
d677f73495
@@ -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