language-transfer / lt-app

React Native application for Language Transfer
https://www.languagetransfer.org/
Other
291 stars 26 forks source link

map bluetooth rewind button to rewind 10 seconds #65

Open the-dream-weaver opened 1 year ago

the-dream-weaver commented 1 year ago

Hi,

Thank you very much for this great app! Wanted to ask if it is possible to map the bluetooth rewind button signal to rewind 10 seconds in the current lesson (like in podcast apps and such). Currently pressing this button (from car bluetooth controls, for example), doesn't do anything.

SyntaxBlitz commented 1 year ago

Hi!

What platform are you using the app on (iOS/Android)? I'm a little surprised to find that it doesn't work, though I don't think I've explicitly tested this with a Bluetooth device; my hunch is that if the rewind button works in the notification player, it should also work from a connected Bluetooth device. I haven't tested this as much on iOS, though.

the-dream-weaver commented 1 year ago

I'm using the android app. I've tested it now more extensivley, using the car bluetooth control and also a headset that has rewind button. I've tested it:

  1. When the app is open.
  2. When the app is in the background and the notification player is visible.
  3. When the screen is off.

In all cases it does not work. It seems that the bluetooth signal of rewind is not connected to the 10 seconds rewind feature inside the app.

SyntaxBlitz commented 1 year ago

Thanks for updating! I'll have a look at what's going on here.