-
Notifications
You must be signed in to change notification settings - Fork 227
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
TypeError when using expo 44 and AgoraUIKit #489
Comments
have you used expo-dev-client? |
if not you can refer to #188 |
expo-dev-client is not helping. |
This is not working for me either, I'm building via EAS, specifically I think that for this to work with EAS there needs to be a config plugin added to this package? |
My error is slightly different though:
|
Ah, the problem was that I had to run: npm install agora-react-native-rtm Following the blog post linked above I had only installed |
i had similar problems as yours @LinusU
how do i fix this please? |
We have updated the UIKit to use the Agora RTM SDK for a few new features like usernames. We're updating the blog to include rtm in the installation instructions. To fix the error just install the RTM SDK. New installation step would look like this:
|
Well, after the newest update I start to get TypeError: null is not an object (evaluating 'AgoraRTM.prefix') @EkaanshArora Could you help please? Expo sdk 45, |
Have you installed |
Yes, it was installed. However the way I solved the issue is to use react-native-agora setup. I hope the issue stated here will be solved! |
Installed all but faced the same issue. |
What do you mean? To clarify, how I solved, I basically decided not to use agora-rn-uikit. I completely removed all the dependencies, and reinstalled react-native-agora only. I wrote the code from scratch, with all the methods, I wanted. Customised it like I wanted. I think, it is a better option at the moment, if any of you, guys, wanna avoid the problems. Also, I think that UI kit conflicts a lot with expo and typescript. Using expo dev client does not make agora ui kit work. |
@vladis-c okay, I think I understand what you mean now. I'll try it. |
A demo will be great. Thanks 👍 |
That's where I took the code from. |
can you provide a demo git repo |
@hanees13 as @vladis-c mentioned you can get the demo git here issue closed as the issue seems solved. |
Hi!
I am trying to follow the tutorial from https://www.agora.io/en/blog/building-a-video-calling-app-using-the-agora-sdk-on-expo-react-native/ with expo 44.
When running I get an error:
I tried downgrading to expo 42, and it did not work.
Please, Help! Thank you. 🙏
The text was updated successfully, but these errors were encountered: