Closed vyktoremario closed 1 year ago
@vyktoremario are you using expo go app?
@vyktoremario are you using expo go app?
@stanwolverine yes I am using Expo go app
@vyktoremario Have you done the Expo Dev Client setup? Check the steps mentioned here: https://www.100ms.live/docs/react-native/v2/how-to-guides/install-the-sdk/integration#expo-setup This is a sample app using Expo + 100ms React Native package: https://github.com/ygit/expo-react-native-hms
@vyktoremario Have you done the Expo Dev Client setup? Check the steps mentioned here: https://www.100ms.live/docs/react-native/v2/how-to-guides/install-the-sdk/integration#expo-setup This is a sample app using Expo + 100ms React Native package: https://github.com/ygit/expo-react-native-hms
@ygit I have followed the steps in the docs and it still doesn't work for me.(Mind you, expo-cli is deprecated ) I will clone the repo you linked and see if it works for me. I Will respond back.
alright @vyktoremario Let us know. We can also get on a call to debug this or any other help you need in integrating the 100ms package. Block a convenient time here: https://calendly.com/yogesh-singh-100ms/30min
@vyktoremario Have you done the Expo Dev Client setup? Check the steps mentioned here: https://www.100ms.live/docs/react-native/v2/how-to-guides/install-the-sdk/integration#expo-setup This is a sample app using Expo + 100ms React Native package: https://github.com/ygit/expo-react-native-hms
@ygit I have followed the steps in the docs and it still doesn't work for me(Mind you, expo-cli is deprecated ) I will clone the repo you linked and see if it works for me. I Will respond back.
I just cloned the repo you linked and it still doesn't work for me. First, expo-cli
is deprecated and they suggested to use npx expo start
and that only works for version 47 and above. Secondly, when I run expo start --dev-client
, the Expo Go app doesn't load/build the app at all(on an Android device) even when I scan the QR code.
The repo uses expo version 44.0.0 while the application I am using is currently using 47.0.13.
Does this only work if I use Xcode or an Android emulator? Or do you expect this to work even with Expo Go app on an Android device?
I just booked a time for tomorrow. Looking forward to speaking to you guys about this issue
Sure. Likewise
So, I was able to get past this issue. My colleagues were insisting on using Expo so I had to use Expo development build due to native code being required (as @ygit mentioned on the call). These are the steps I took (Incase the docs will need to be changed):
npm install -g eas-cli
npx expo install expo-dev-client
eas login
eas build --profile development --platform android
npx expo start --dev-client
This works fine and the HMMSDK
class is being built and returns an instance.
But I get the below error once in a while and I don't know if you guys have an idea why it is showing up. Thanks
There's this error I get:
Unable to resolve host "prod-init.100ms.live": No address associated with hostname. [SignalDisconnect] Could not recover in 60000 milli seconds.
hey @vyktoremario are you still facing this issue? is it happening everytime?
hey @vyktoremario are you still facing this issue? is it happening everytime?
@ygit I can confirm that I haven't had this error ever since that day. It looks to work as expected.
Thanks!
Nice 🙌 Let us know if you need help with anything else. Closing this issue thread.
@ygit While I am still here, I have a question.
Suppose I create a room on the 100ms dashboard and joined in as a moderator. Then copied one of the room codes and used it to join on my locally running development app, should I be able to see the user that joined on the dashboard or anyone that joins on the dashboard?
Cos right now I don't. It shows I am the only one in the room on my end but also informs the dashboard user that I joined the room.
Description
When I run
await HMSSDK.buid()
I get an error[TypeError: Cannot read property 'build' of null]
. The application uses Expo.I followed the steps found on the documentation and I still get the same error. https://www.100ms.live/docs/react-native/v2/how-to-guides/install-the-sdk/integration I also cloned one of the sample apps and I got the same error
100ms React Native Version
1.7.0
Steps to reproduce
await HMSSDK.buid()
and call the function inside the useEffect in the App.jsExpected results
On calling
await HMSSDK.buid()
, I expect an instance of hms is returned so that I can have access to all the method in the class.Code example, screenshot, or link to a repository
Code sample
```jsx const ROOM_CODE = MODERATOR_ROOM_CODE; const AUTH_TOKEN = MODERATOR_AUTH_TOKEN; const hmsInstanceRef = useRefLogs
```console ```