Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

和Riverpod 配合,发现无法正常使用,必须restart才能正常使用 #83

Open
liuyicheng3 opened this issue Nov 3, 2022 · 1 comment

Comments

@liuyicheng3
Copy link

liuyicheng3 commented Nov 3, 2022

Android 上同时集成Riverpod,无法正常使用

Ume版本:

flutter_ume: ^1.0.1
flutter_ume_kit_ui: ^1.0.0
flutter_ume_kit_device: ^1.0.0
flutter_ume_kit_perf: ^1.0.0
flutter_ume_kit_show_code: ^1.0.0
flutter_ume_kit_console: ^1.0.0

riverpod版本:
flutter_riverpod: 1.0.3
hooks_riverpod: 1.0.3
riverpod: 1.0.3

PluginManager.instance // 注册插件
..register(WidgetInfoInspector())
..register(WidgetDetailInspector())
..register(ColorSucker())
..register(AlignRuler())
..register(ColorPicker()) // 新插件
..register(TouchIndicator()) // 新插件
..register(Performance())
..register(ShowCode())
..register(MemoryInfoPage())
..register(Console());
runApp(ProviderScope(child: UMEWidget(child: MyApp(), enable: true)));

飞书20221103-115404

Error log 错误日志

没有错误日志

Environmental info 环境信息

Flutter doctor

[✓] Flutter (Channel stable, 3.3.3, on Mac OS X 10.15.7 19H114 darwin-x64, locale zh-Hans-CN)
Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] IntelliJ IDEA Community Edition (version 2020.1)
[✓] VS Code (version 1.72.2)
[✓] Connected device (3 available)

UME and kits version UME 及插件包版本

flutter_ume: ^1.0.1
flutter_ume_kit_ui: ^1.0.0
flutter_ume_kit_device: ^1.0.0
flutter_ume_kit_perf: ^1.0.0
flutter_ume_kit_show_code: ^1.0.0
flutter_ume_kit_console: ^1.0.0

@ReverseScale
Copy link

+1,用 flutter_boost 时,main 里启动任务多了,会偶现 debug 浮标点击没反应,要 hot restart 才行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants