flutter / flutter/devtools

devtools can only access the first created engine when you have multiple engines in add to app

Đang mở
#9,668 2 bình luận 2 reaction 0 người được giao Xem trên GitHub
add-to-app cross-screen new feature P2
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

# Overview

When you have a add-to-app with multiple flutter engines active at the same time, the devtools takes the first valid isolate and sets it as `main`, making it impossible to use widget inspector and other tools

Minimal Example App - https://github.com/AshishSingh2001/minimal-add-to-app

## Steps to reproduce

- run the android app
```bash
cd android_app
./gradlew installDebug
```
- Attach flutter debugger to the dart VM service (you can get this from logcat)

## Issue

In the debugger you will always see homeTab and don't have a way to switch to another tab

The widget inspector is build with keeping normal flutter apps in mind, where only one isolate can be the main isolate, but in add-to-app there can be multiple isolates which can render flutter separately

Image

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.