alibaba / alibaba/flutter_boost
[Bug]: 集成的bugly统计到-[FlutterBoostPlugin sendEventToNativeParams:error:].cold.1 (FlutterBoostPlugin.m:0)
- Dominant language
- Dart
- Stars
- 7.2k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
### 请描述遇到的问题,以及您所期望的正确的结果
我们app是iOS端swift开发项目,通过flutter_boast集成了混合开发模块,最近bugly统计到崩溃率较高的一个问题,一直未定位到具体原因,崩溃信息如下:
libsystem_kernel.dylib
___pthread_kill + 8
libsystem_c.dylib
_err kukeyunStudent -[FlutterBoostPlugin sendEventToNativeParams:error:].cold.1 (FlutterBoostPlugin.m:0)
kukeyunStudent -[FBFlutterContainerManager removeContainerByUniqueId:] (FBFlutterContainerManager.m:58-59)
kukeyunStudent -[FlutterBoostPlugin containerWillAppear:] (FlutterBoostPlugin.m:0)
kukeyunStudent -[FBFlutterViewContainer viewWillAppear:] (FBFlutterViewContainer.m:283)
UIKitCore -[UIViewController _setViewAppearState:isAnimating:] + 612
UIKitCore _UIApplicationMain + 340
kukeyunStudent main (AppDelegate.swift:26)
dyld 0x00000001b3ded000 + 249420
### 请说明如何操作会遇到上述问题
从操作路径来看是从原生界面跳转到flutter界面,然后再返回再进入会出现此问题,但是无法复现
### 在下面填入关键复现代码
```
```
### 复现的平台
iOS
### Flutter SDK版本
3.22.0
### FlutterBoost版本
4.5.7
### 是否延迟初始化FlutterBoost
No
### 解决方案
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the reported native lifecycle path through FBFlutterContainerManager.m, FlutterBoostPlugin.m, and FBFlutterViewContainer.m, using AppDelegate.swift only as the application entry point. Investigate the native-to-Flutter navigation and return/re-entry sequence described in the issue, then confirm a reproducible trigger and document a fix or validated cause for the crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, ios, objective-c, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100