-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS error - TypeError: null is not an object (evaluating '_reactNative.NativeModules.MuxModule.initialize') #113
Comments
@davidwinograd1 it looks like the native bridges are not compiled/included in your project. I guess this related to the missing repository in your other bug report? So does this issue still persist? |
@tvanlaerhoven fixed for iOS, thanks! |
ah wait, @tvanlaerhoven, my mistake. When testing, I had temporarily commented out the |
@wvanhaevre Hello! thank you for taking on the issue. I would love to know if there are any updates or potential fixes at your nearest convenience! |
Hi @davidwinograd1, Our RN iOS developer is currently out of office due to vacation. We will give a deeper look and understand what is going on here sometime next week. Kind regards, |
Hi, I can't reproduce the issue. I'm currently using v1.2.0 of the mux connector and for me it is working fine on my iPhone. Can you verify if running on an actual device changes things? I'm not sure if the underlying Mux SDK has support for simulator and I would like to rule that out. |
I did a test on our example application on our example app from the react-native-theoplayer package: example
and this is my onPlayerReady:
|
@wvanhaevre Yes my project exclusively targets iOS devices. and I can confirm that it crashes on the physical device as well, due to the "null is not an object" error. is there any other part of my code that I can show you that may be able to help narrow down the issue? |
Would it be possible to prepare a minimal reproduction RN project? Just setting up the player with one of our test sources and adding the mux connector (i.e. similar to the code above). If you would share that with us, we can have a look and hopefully reproduce the issue. |
I'm getting this error on iOS when implementing Mux Analytics for THEOplayer. Are there any errors/incorrect implementation in my code? @tvanlaerhoven
I am following the guide here: https://github.com/THEOplayer/react-native-theoplayer-analytics/blob/main/mux/README.md
"react-native-theoplayer": "^3.0.1"
"@theoplayer/react-native-analytics-mux": "^1.1.1",
Here is my code:
Thanks!
The text was updated successfully, but these errors were encountered: