alibaba / alibaba/flutter_boost

flutter_boost缓存问题

Open
#1,572 2 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: 2.2.1
flutter_boost: 3.0_preview5

iOS端(iPhone12 mini iOS15)flutter页面触发重启逻辑,重新设定rootViewcontroller后,再次跳转flutter页面时,页面跳转错误,重新回到了重启前的画面,且画面状态没有更新。

尝试解决:每次重启时,重新调用setup方法,重新生成新的engin。
上述解决方式,解决了跳转错误的问题,但会造成内存的增长,如多次反复操作,则会因内存问题造成闪退。

请问:
1.是否有其他方式能解决跳转错误问题?
2.engin是否能够清除缓存?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the navigation and memory behavior on an iPhone 12 mini running iOS 15 with Flutter 2.2.1 and flutter_boost 3.0_preview5. Start by tracing the setup call, engine recreation, rootViewController reset, and subsequent Flutter-page navigation; done means navigation returns to the expected current state without unbounded memory growth.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.