macOS support (#33)

* mac os support 1

* entitlements

* fix updateTrack bug

* clean

* throws on mac

* simplify structure

* lock
This commit is contained in:
Hiroshi Horie
2021-11-24 21:32:40 +07:00
committed by GitHub
parent f9c2622b4e
commit 357213e7e4
14 changed files with 87 additions and 50 deletions
@@ -6,11 +6,13 @@ import FlutterMacOS
import Foundation
import flutter_webrtc
import livekit_client
import path_provider_macos
import shared_preferences_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FlutterWebRTCPlugin.register(with: registry.registrar(forPlugin: "FlutterWebRTCPlugin"))
LiveKitPlugin.register(with: registry.registrar(forPlugin: "LiveKitPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
}