samples
samples copied to clipboard
[add-to-app] Accessibility not working properly with multiple flutter fragments
Source : https://github.com/flutter/samples/tree/main/add_to_app/multiple_flutters
https://github.com/user-attachments/assets/d873dc52-42aa-4bec-9e14-7e3376ba2446
Hey @santoshgistto -- Is the issue that you're pointing out that the accessibility features aren't working in the final screen of that video? I'm just making sure I understand correctly
@ericwindmill Yes in the case of multiple flutter fragment
val engine = if (i == 0) topBindings.engine else bottomBindings.engine
FlutterEngineCache.getInstance().put(engineId.toString(), engine)
val flutterFragment = FlutterFragment.withCachedEngine(engineId.toString()).build<FlutterFragment>()
fragmentManager.beginTransaction().add(containerId, flutterFragment).commit()
@ericwindmill please let me know if any info required to reproduce the issue