mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
update iOS init func syntax
This commit is contained in:
@@ -571,6 +571,6 @@ private extension CameraPlugin {
|
||||
}
|
||||
|
||||
@_cdecl("init_plugin_camera")
|
||||
func initCameraPlugin(webview: WKWebView?) {
|
||||
Tauri.registerPlugin(webview: webview, name: "camera", plugin: CameraPlugin())
|
||||
func initPlugin() -> Plugin {
|
||||
return CameraPlugin()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user