FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
98 stars 17 forks source link

Media control dont work #2874

Closed Wemerson092 closed 1 week ago

Wemerson092 commented 1 week ago

Has your issue been reported?

Current Behavior

The Media control does not appear, how can this problem be solved? Also, the audio stops when navigating to another screen. I have already tested using the AudioPlayer and Custom Widgets.

Expected Behavior

The Media Player control work

Steps to Reproduce

  1. Download the APK.
  2. Open the app.
  3. Play the audio.

Reproducible from Blank

Bug Report Code (Required)

ITFThvLl249OjOYA+KqMYe1KoCovCUMaWI0rie5+GCkbCJyrBIYMac/SX1huXby4dH9XKEWJ8U8H0ujXi9mSKcA5PTmqR7pGwcxfEQL/ZGO/aoTREqrpQ3EkO/pgFWbF352J2hNSKbZoLEIk62eYB/CiYArbQoP7Zwh9f6PHaOI=

Context

Im trying to use the media control

Visual documentation

https://github.com/FlutterFlow/flutterflow-issues/assets/90150088/6d7093c9-10de-4b56-bbbc-1738c6d0369c

Additional Info

Screenshot_20240508-141954 Screenshot_20240508-141946

Environment

- FlutterFlow version: 4.1.48
- Platform: Android
- Browser name and version: Google Chrome 113.0.5672.126
- Operating system and version affected: Ubuntu 20.04.6 LTS

General

Relative to the time the changes were made, data was lost within

When following my steps to reproduce, data loss happens

rzambroni commented 1 week ago

Hey @Wemerson092.

  1. Regarding the media controls on the system tray: it is not possible at the moment with FF, Even with flutter it self is not that simple and you could do that by using the Platform Channels feature and coding on native IOS (SWIFT) and Android (Kotlin).
  2. Regarding the app stoping the sound when navigating: This is the expected behavior, please check this post in the community where they discuss how to do that.


Closing this issue as tthey are not bugs. Thanks.