alibaba / alibaba/flutter_boost

iOS原生通过boost跳转到flutter页面后弹出showCupertinoModalPopup报错

Open
#1,520 6 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 (Channel stable, 2.5.3, on macOS 11.6.1 20G224 darwin-x64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.1)
[✓] Connected device (3 available)

! Doctor found issues in 1 category.

这是flutter版本,对应flutter_boost是1.17.1。
复现步骤是用boost open到一个flutter页面A,close后,再次打开页面A,点击出现弹框。我这里可以提供可复现的最小demo,如需可提供

如下是部分弹框代码:
![image](https://user-images.githubusercontent.com/32724641/146498744-b0959283-100f-4b25-af86-0fa27608bbce.png)
如下是报错信息:
![image](https://user-images.githubusercontent.com/32724641/146498761-df8d0e8e-2256-4b30-b402-9da534479065.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported Flutter 2.5.3 and flutter_boost 1.17.1 setup on iOS. Reproduce the flow of opening page A through Boost, closing it, reopening it, and invoking showCupertinoModalPopup; use the attached error report and request the offered minimal demo if reproduction is blocked. Done means the popup opens without the reported error after the page is reopened.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile
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.