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

已有Android原生工程,如何集成flutter_boost,目录结构式怎样的 #6

Closed
Justever opened this issue Mar 7, 2019 · 1 comment

Comments

@Justever
Copy link

Justever commented Mar 7, 2019

现有工程已做组件化,再建个flutter工程倒入不现实。是否还是创建个flutter的module,将它引入到项目里面,如何使用flutter——boost

@Yacumima
Copy link
Collaborator

Yacumima commented Mar 7, 2019

FlutterBoost是标准的flutter plugin,如果如果想将flutter做成module,在新建工程的时候可以参考官方的flutter module方式

@Yacumima Yacumima closed this as completed Mar 7, 2019
noborder pushed a commit that referenced this issue Jan 19, 2020
noborder pushed a commit that referenced this issue Apr 24, 2020
0xZOne added a commit that referenced this issue Aug 23, 2022
08-19 17:11:17.042 22707 24893 I flutter : The following _CastError was thrown during a scheduler callback:
08-19 17:11:17.042 22707 24893 I flutter : type 'List<(String, Map<dynamic, dynamic>) => Future<dynamic>?>' is not a subtype of type
08-19 17:11:17.042 22707 24893 I flutter : 'List<(String, Map<dynamic, dynamic>?) => Future<dynamic>?>' in type cast
08-19 17:11:17.042 22707 24893 I flutter :
08-19 17:11:17.042 22707 24893 I flutter : When the exception was thrown, this was the stack:
08-19 17:11:17.042 22707 24893 I flutter : #0      FlutterBoostAppState.addEventListener (package:flutter_boost/src/flutter_boost_app.dart:653:11)
08-19 17:11:17.042 22707 24893 I flutter : #1      BoostChannel.addEventListener (package:flutter_boost/src/boost_channel.dart:34:23)
08-19 17:11:17.042 22707 24893 I flutter : #2      FlutterBoostAppState._addAppLifecycleStateEventListener (package:flutter_boost/src/flutter_boost_app.dart:119:10)
08-19 17:11:17.042 22707 24893 I flutter : #3      FlutterBoostAppState.initState.<anonymous closure> (package:flutter_boost/src/flutter_boost_app.dart:108:7)
08-19 17:11:17.042 22707 24893 I flutter : #4      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1143:15)
08-19 17:11:17.042 22707 24893 I flutter : #5      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1088:9)
08-19 17:11:17.042 22707 24893 I flutter : #6      PerformanceFlutterBinding.handleDrawFrame (package:high_available/src/api/performance_flutter_binding.dart:29:11)
08-19 17:11:17.042 22707 24893 I flutter : #7      SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:863:7)
08-19 17:11:17.042 22707 24893 I flutter : (elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
@joker-fu joker-fu mentioned this issue Aug 18, 2023
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