doublesymmetry / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!
https://rntp.dev/
Apache License 2.0
3.2k stars 984 forks source link

fix(types): MetadataTimedReceived payload type #2148

Closed puckey closed 9 months ago

dcvz commented 9 months ago

Seem like this was an typo when doing types. One of them is not an array but it should be MetadataCommonReceived instead. MetadataCommonReceived will only return a single dictionary.

puckey commented 9 months ago

Amended the pr to have Event.MetadataCommonReceived be AudioCommonMetadataReceivedEvent instead of AudioCommonMetadataReceivedEvent[]