Giter Site home page Giter Site logo

Comments (8)

seceba avatar seceba commented on June 22, 2024 1

Version 3.0.6 does not have this problem. When I updated to version 3.1.0, I started to get this problem.

from flutter-assetsaudioplayer.

seceba avatar seceba commented on June 22, 2024

Hi, I'm getting the same problem 3.1.1 update is related to this error?

from flutter-assetsaudioplayer.

Sanam-Gurung avatar Sanam-Gurung commented on June 22, 2024

Hi, I'm getting the same problem 3.1.1 update is related to this error?
yes this problem didnot used to arise in the older version. @seceba

from flutter-assetsaudioplayer.

richtea99 avatar richtea99 commented on June 22, 2024

Also seeing this 'ForegroundServiceDidNotStartInTimeException' issue:

  • assets_audio_player: ^3.1.1
  • Flutter version 3.13.6
  • Dart version 3.1.3
  • Android 13 only (so far)
  • app is in the background (not the app's normal mode - it's a foreground-only app, so this may be the logic hole)

from flutter-assetsaudioplayer.

offline-first avatar offline-first commented on June 22, 2024

any updates?

from flutter-assetsaudioplayer.

richtea99 avatar richtea99 commented on June 22, 2024

My update is 'sideways' - try the 'just_audio' package instead.

That's not to say this is a bad package, but 'just_audio' worked for our particular simple requirements, with minimal code changes.

from flutter-assetsaudioplayer.

seceba avatar seceba commented on June 22, 2024

So I had to use another package. audioplayers this package sees it.

from flutter-assetsaudioplayer.

vbuberen avatar vbuberen commented on June 22, 2024

I did a PR which was already merged into master and even though it is focused on changes for Android 14 it might have fixed this issue as well.
Thus, I would ask some of those who experience the reported issue to try the version of this plugin from master pointing to my commit:

assets_audio_player:
    git:
      url: https://github.com/florent37/Flutter-AssetsAudioPlayer.git
      ref: 91638830570e5e3c2212d04fd99b8d3b60380dd3

from flutter-assetsaudioplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.