I am still fairly new to ios development so bear with me. I am developing a react-native module for IOS which checks if the audio is muted. The module is a copy of the ios app: Github repo.
I got everything to work in my react-native module except that it can't find the audio file, which is needed to check if the audio is muted. The following line is used to find the url of the audio file, but it always returns null:
NSURL* url = [[NSBundle mainBundle] URLForResource:@"MuteChecker" withExtension:@"caf"];
I have tried linking this file in my project, but without any result. Could someone explain if you need to search another way in react-native?