react-native link doesn't work.
It only linked to settings.gradle but the rest of it didn't work. Instead, I went to read Manual Installation Notes: https://github.com/zmxv/react-native-sound/wiki/Installation and found out that it didn't work it too.
The text about Mainapplication.java.
Before it was ArrayList but now it is a List and I am not not really sure it should be like this....
@Override
protected List<ReactPackage> getPackages() {
@SuppressWarnings("UnnecessaryLocalVariable")
List<ReactPackage> packages = new PackageList(this).getPackages();
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(new MyReactNativePackage());
packages.add(new RNSoundPackage()); // <--- is this correct?!
return packages;
}
In this way React Native crash because it doesn't like to
It works but if I stop running metro and using the app it doesn't play anything.
I am guessing because it didn't link properly. I can't find folder raw where the sound it (android/src/main/res/) nor anywhere
:beetle: Description
There are three things that need to update.
react-native link doesn't work. It only linked to settings.gradle but the rest of it didn't work. Instead, I went to read Manual Installation Notes: https://github.com/zmxv/react-native-sound/wiki/Installation and found out that it didn't work it too.
The text about Mainapplication.java. Before it was ArrayList but now it is a List and I am not not really sure it should be like this....
In this way React Native crash because it doesn't like to
If I am doing without manual linking.
It works but if I stop running metro and using the app it doesn't play anything. I am guessing because it didn't link properly. I can't find folder raw where the sound it (android/src/main/res/) nor anywhere
Are you using...
react-native run-android
)Which versions are you using?
Does the problem occur on...
If your problem is happening on a device, which device?