I am doing iOS react-native app. App is video player, which can connect to ChromeCast. I have a task to control ChromeCast volume with iPhone volume buttons. Does anyone know how to do it in react-native. Or at least explain how to detect it with IOS (objective-c)?
Regards, Vitalii
Using this library https://github.com/rtmalone/react-native-volume-control you can detect volume press event via hardware button