thirdweb-dev / js

Best in class web3 SDKs for Browser, Node and Mobile apps
https://thirdweb.com
Apache License 2.0
430 stars 328 forks source link

React Native SDK Yarn ios #2320

Closed Navip10 closed 7 months ago

Navip10 commented 7 months ago

Hi @warengonzaga thank you for reaching out on the discord, i could use some help/guidance on a project I am building. I am using the React Native SDK and started the build with "npx thirdweb create --template react-native-expo-starter" went through the whole environment set up and I'm up to the part where I could run "yarn iOS" when I run this everything seems to build fine and the IOS simulator does come up but then that's when I run into some errors preventing me from moving forward. I will attach images of this errors I'm seeing repeatedly, please help with any sort information you can provide. Im attaching photos below of my package.json and the errors im receiving in the console.

Thank You, Navier Polanfco

Image 2-15-24 at 12 53 PM Screenshot 2024-02-16 at 6 31 39 PM Image 2-16-24 at 4 27 PM simulator_screenshot_3E4FF836-3BCB-4AB8-86E9-74F00FEC4B1D simulator_screenshot_B73F33C6-960A-44EF-A16B-8BF75107F924 simulator_screenshot_D8986EFF-00C6-433F-A4C0-98656206EEF1

warengonzaga commented 7 months ago

Hello @iketw can you take a look into this? Thanks!

Navip10 commented 7 months ago

Thank you, @iketw if theres anything i could provide to help with diagnosing this problem of mine let me know. could use the help as soon as possible i've been trying to figure out the problem for 3 days now before coming for help.

iketw commented 7 months ago

Hi @Navip10, thanks for reporting this. The issue stems from the fact that since expo-application 5.8, the module has been migrate to a Native module. Please, run npx expo install expo-application in your app and re-run, this should fix your issue.

I'll make sure to update the templates.

huy-lv commented 7 months ago

Hi @Navip10, thanks for reporting this. The issue stems from the fact that since expo-application 5.8, the module has been migrate to a Native module. Please, run npx expo install expo-application in your app and re-run, this should fix your issue.

I'll make sure to update the templates.

thanks, it worked

Navip10 commented 7 months ago

@iketw it worked! thank you for getting back to me with a quick solution!

warengonzaga commented 7 months ago

Closing this issue, thanks @iketw for the quick fix.

Should you require any further assistance @Navip10 and @huy-lv let us know.