Hello, I'm using this package in a TVOS application, in older and slower TVs when accessing getAudioTracks function, it crashes the app with the following error (reported on appcenter):
com.appgoalz.rnjwplayer.RNJWPlayerModule$15.execute RNJWPlayerModule.java, line 350
java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
sometimes the audioTrackList is null and it crashes the app.
changing the code like this fixed the problem.
now instead of crashing it returns an empty Array.
Hello, I'm using this package in a TVOS application, in older and slower TVs when accessing
getAudioTracks
function, it crashes the app with the following error (reported on appcenter):sometimes the
audioTrackList
is null and it crashes the app. changing the code like this fixed the problem. now instead of crashing it returns an empty Array.