alibaba / alibaba/flutter_boost

iOS 添加Notification Service Extension 后运行崩溃

Open
#1,772 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

截屏2022-12-05 17 35 01

在application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions里把
MyFlutterBoostDelegate* delegate= [[MyFlutterBoostDelegate alloc ] init];
[[FlutterBoost instance] setup:application delegate:delegate callback:^(FlutterEngine *engine) {

}];
注释了就不会崩溃

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the iOS application:didFinishLaunchingWithOptions entry point and reproduce the crash after adding a Notification Service Extension, keeping the shown FlutterBoost setup enabled. Inspect the crash details and the interaction with MyFlutterBoostDelegate; done means the app launches without crashing while the extension and FlutterBoost initialization are both present.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.