Podify react native project is not rendering views because of an error
/** * @format */ import { AppRegistry } from ‘react-native’; import App from ‘./App’; import { name as appName } from ‘./app.json’; AppRegistry.registerComponent(appName, () => App); it says unexpected ‘{‘ on index.js but theres not opening brace except for the imports its not rendering my views I tried debugging running it throught ai nothing javascript […]
React Native Expo App crashes on Testflight when it starts up
When I published my build to the app store and tried to run it on TestFlight it immediately crashes. I have no idea where to look on how to fix the crash. The app runs smoothly when starting it in development mode, production mode, or regular expo go. (I do not have a macbook or mac, I solely use windows!) I took a look at the crash logs which were given but it all looks like a bunch of gibberish!
React Native app not building due to mismatch between js and native codes and other potential issues
im stuck during 1 week now to simply build my react native app for my first project in a company, basically for android it said it has a mismatch between react native and native code versions, 0.61.3 and 0.64.4 basically, it said I could rebuild the native code to update it, i tried to run npx react-native run-ios and run-android but none of them worked because they didnt recognized a command I had to install, it was pod, i should do pod install, but to do this it requires an ubuntu password which i dont have because i use vs code inside the company’s server, my pc uses windows 11 but this virtual machine uses ubuntu… so i tried to forcelly change react native version to 0.64.4 and now the log error is not even showing in the app anymore, app is not building.
React native, how do I destroy components created by the .map function?
I am displaying some cards when my data is loading but the issue is when the loading is complete the cards are still there, where I want them to be destroyed. I am creating all of these cards using the .map function from arrays in javascript, I haven’t found anything on how I can destroy the components I have created. Take a look at the code (to note I want the components visibility to be dependent if searchValue
has a value or not)