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

合并最新代码 #3

Open
wants to merge 1,121 commits into
base: master
Choose a base branch
from
Open

合并最新代码 #3

wants to merge 1,121 commits into from

Conversation

eson-fan
Copy link
Owner

合并最新代码

luckysmg and others added 30 commits June 1, 2021 15:22
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
#1203)

* [双端一致性] iOS端FBFlutterContainerManager与Android统一,FLutterBoostPlugin生命周期相关逻辑统一
Reason: 除了Dart侧,引擎Native部分也会根据生命周期事件暂停RequestFrame,
0xZOne and others added 28 commits June 12, 2023 17:59
将completion放在FlutterBoostRouteOptions参数里让业务回调,容易被业务遗漏。当前对回调时机的精度要求不高,回调直接在内部处理,避免遗漏。
新容器创建时,使用上个容器的SystemUiOverlayStyle,初始化新容器的状态栏、导航栏颜色效果
This reverts commit bb67288.
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
@0xZOne 0xZOne deleted the branch eson-fan:master April 3, 2024 10:28
@0xZOne 0xZOne deleted the master branch April 3, 2024 10:28
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

Successfully merging this pull request may close these issues.