GithubHelp home page GithubHelp logo

Comments (10)

cyanChill avatar cyanChill commented on June 2, 2024 1

Fixed with [email protected] — working with development build, not yet with Expo Go (probably fixed in a future update).

Edit 5/14/2024: Seems to work in Expo Go as seen in the SDK 51 Snack above (probably fixed with [email protected]).

Edit: Minimum Expo SDK Client version 2.31.2 required?

from expo.

expo-bot avatar expo-bot commented on June 2, 2024

Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.

from expo.

howard-lingumi avatar howard-lingumi commented on June 2, 2024

@behenate I know that this issue has been marked as resolved, however I'm still getting this issue in Expo Go.

In our app listening to audio finished events is crucial to the working of the app (the app includes minigames which wait for audio to finish before progressing - this bug therefore renders them unplayable) . We currently use Expo Go (where we have been forced to upgrade to the new version) to test internally and don't have deployment builds setup as we haven't yet needed to do it so this currently blocks us.

Note: although devs can use an older version of Expo Go, my non-dev colleagues with an iOS device cannot.

Would it be possible to get an update on whether this is being actively worked on?

Thank you!

from expo.

cyanChill avatar cyanChill commented on June 2, 2024

@howard-lingumi It should be fixed/work if you bump expo to [email protected].

from expo.

howard-lingumi avatar howard-lingumi commented on June 2, 2024

Thanks @cyanChill however I still get the issue on [email protected] with [email protected] in Expo Go.

I'm testing on a physical android device. The audio plays, but the onPlaybackStatusUpdate update is no longer called with didJustFinish set to true. It was working fine in Expo 50.

I'm loading my audio from a local uri (in case that's relevant).

from expo.

cyanChill avatar cyanChill commented on June 2, 2024

If loading through loadAsync({ uri: "file:///..." }), it seems to work on my end and setOnPlaybackStatusUpdate fires when "didJustFinish": true.

from expo.

howard-lingumi avatar howard-lingumi commented on June 2, 2024

@cyanChill I've just tried running the snack example above on my android device via Expo Go and that also doesn't work.

The current position number doesn't increment either.

Here's a screen recording:

screen-20240515-092216.mp4

from expo.

behenate avatar behenate commented on June 2, 2024

@howard-lingumi Try creating a development build. Expo Go is updated less frequently and most likely doesn't have the fix yet.

from expo.

cyanChill avatar cyanChill commented on June 2, 2024

@howard-lingumi @behenate hmm, weirdly, I tried it one 2 different devices, worked on only one of them. The that it worked on had Client version 2.31.2 while the one that didn't had Client version 2.31.1.

I remember getting some sort of prompt in the terminal from Expo when building a development build (I think) that mentioned something along the lines of something being out of date and if I wanted to update (might have been the Expo Go app version or something).

Edit: Highlighting the important parts

Important

It seems that the minimum Expo Go "Client version" (see it in the "Settings" tab in Expo Go) required in order for this to work is Client version 2.31.2. I honestly don't know how to reproduce getting this version.

If you really need this feature working, try creating a local development build.

from expo.

LandroNoInc avatar LandroNoInc commented on June 2, 2024

also not firing for me on Android device through Expo Go, but working on iOS devices and web.

Expo versions:

 "expo": "^51.0.8",
 "expo-av": "~14.0.5"

from expo.

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.