alibaba / alibaba/flutter_boost

flutter: FlutterBoost#pendNativeResult, key:1646904314066_/#phjr_login, size:1

Open
#1,612 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

flutter为主工程,嵌入了一些原生页面,在要跳转到原生页面时,如:
BoostNavigator.instance.push(
"phjr_login", //required
withContainer: false, //optional
arguments: {"key": "value"}, //optional
opaque: true, //optional,default value is true
);
结果在android上能正常跳转到原生页面,但是在ios上没有反应,只是点击的时候显示下面这个打印日志,并不跳转
flutter: FlutterBoost#pendNativeResult, key:1646904314066_/#phjr_login, size:1

我检查了ios端的初始化
MyFlutterBoostDelegate* boostdelegate=[[MyFlutterBoostDelegate alloc ] init];
[[FlutterBoost instance] setup:application delegate:boostdelegate callback:^(FlutterEngine *engine) {
NSLog(@"flutter_boost初始化");
} ];
在AppDelegate文件里MyFlutterBoostDelegate运行正常,nslog日志能打印,初始化是成功的,现在不明白MyFlutterBoostDelegate为什么接收不到消息

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the iOS failure from BoostNavigator.instance.push and trace the FlutterBoost setup in AppDelegate through MyFlutterBoostDelegate. Compare the iOS behavior with the working Android navigation and determine why the delegate does not receive the message. Done means the phjr_login native page opens on iOS and the pending-result log no longer remains without navigation.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.