-
💥 Use
CtrlpanelCorelibrary instead offlutter_jsbridgeMigration Guide:
Android support is no longer present, will be added at a later date.
You now need to import the upstream library
JSBridgeand register the global hook. Make the following change to yourAppDelegate:@@ -1,6 +1,6 @@ import UIKit import Flutter -import flutter_jsbridge +import JSBridge @UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { @@ -8,7 +8,7 @@ import flutter_jsbridge _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]? ) -> Bool { - SwiftFlutterJsbridgePlugin.setGlobalUIHook(window: UIApplication.shared.windows.first!) + JSBridge.setGlobalUIHook(window: UIApplication.shared.windows.first!) GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) }
-
💥 Upgrade to JSBridge 0.2.x
Migration Guide:
- 🎉 Add initial implementation