Detect when an audio has finished being produced with expo-av I have this function in react native with expo-av