forked from alibaba/flutter_boost
-
Notifications
You must be signed in to change notification settings - Fork 0
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
合并最新代码 #3
Open
eson-fan
wants to merge
1,121
commits into
eson-fan:master
Choose a base branch
from
alibaba:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
合并最新代码 #3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUTHORS增加Alibaba Inc
* 在部分场景下,提前预热引擎有100ms+的收益
…or对象时,导致上一个页面push一个新页面时报assert HeroController._navigator空错误,详细参考flutter/flutter#69392
* 在多个Navigator中不允许共享HeroController对象,否则下一个退出时会置空HeroController._navigator对象时,导致上一个页面push一个新页面时报assert HeroController._navigator空错误,详细参考flutter/flutter#69392
* 保证双端在第一次页面打开时能调用到onPageShow生命周期
…会失效 (#1178) * FIXED:同一个容器提供多个FlutterView,业务层通过remove(uniqueId),指定id移除非首个flutterview会失效
…#1177) * [breaking]PageVisibility不再提供create和destroy方法,业务将在initState和dispose,复用Widget原有能力,删除无用example_swift * 更改全局路由监听器函数名称,使其更符合flutter内部语义
* BoostNavigator添加pushReplacement方法,同时修复pop和findContainerById的逻辑 * 解决不能按时dealloc的问题 * 引擎置空放入内部管理
* 注意:业务需要自己接管handleAppLifecycleStateChanged逻辑 * 详情:173c910
Co-authored-by: luckysmg <[email protected]>
#1203) * [双端一致性] iOS端FBFlutterContainerManager与Android统一,FLutterBoostPlugin生命周期相关逻辑统一
Reason: 除了Dart侧,引擎Native部分也会根据生命周期事件暂停RequestFrame,
将completion放在FlutterBoostRouteOptions参数里让业务回调,容易被业务遗漏。当前对回调时机的精度要求不高,回调直接在内部处理,避免遗漏。
Note: Dart 3.0 no longer allows classes to be used as mixins by default.
Fix the following exception: ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════ The following assertion was thrown during a platform message callback: Invalid lifecycle state transition generated from AppLifecycleState.resumed to AppLifecycleState.detached (generated [AppLifecycleState.detached]) 'package:flutter/src/services/binding.dart': Failed assertion: line 296 pos 12: '(){ AppLifecycleState? starting = previousState; for (final AppLifecycleState ending in stateChanges) { if (!_debugVerifyLifecycleChange(starting, ending)) { return false; } starting = ending; } return true; }()' Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=2_bug.yml When the exception was thrown, this was the stack: (elided 4 frames from class _AssertionError and dart:async) ════════════════════════════════════════════════════════════════════════════════════════════════════ See also: flutter/engine#42418
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
合并最新代码