jwisniewski / android-developer-assistant

A tool for Android developers, testers and designers. Allows to inspect elements, layout, style, even translations directly on mobile devices.
http://appsisle.com/project/developer-assistant/
72 stars 32 forks source link

Flutter app inspection #15

Closed viswasaru closed 7 months ago

viswasaru commented 1 year ago

The Developer Assistant app couldn't inspect flutter app. Is any possibility for flutter app

jwisniewski commented 1 year ago

@viswasaru I assume Developer Assistant doesn't detect specific elements on the screen, right? Developer Assistant depends mostly on the accessibility tree built by inspected applications. The same information is used by TalkBack, other assistants like Google Assistant and any accessibility service.

Looks like the inspected app doesn't generate any accessiblity tree.

I have found an issue on the Flutter project, which may be related: https://github.com/flutter/flutter/issues/111110

jwisniewski commented 10 months ago

According my recent knowledge, Developer Assistant would need to be ported from Android Assist API to Accessibility Service. That would be a larger change for this project, while benefits would be marginal. Flutter apps just don't depend on XML resources. Everything provided by the Accessibility Service API, would be a compatiility layer dedicated for accessibility tools, rather than developers, designers and testers this app aims to help.

I didn't decide yet to make this move.