skip to Main Content

Parse, AsyncStorage and React Native

Trying to work out using Parse with React Native and using Back4App as my BaaS. Running into a problem when setting up my asyncstorage (from react native). Parse.setAsyncStorage(AsyncStorage); //Paste below the Back4App Application ID AND the JavaScript KEY Parse.initialize('myappid', 'sdk');…

VIEW QUESTION

Expo-Camera, takePictureAsync undefined (Unhandled promise rejection: TypeError: ref.current.takePictureAsync is not a function) – React native

I'm trying to create react app with expo using expo-camera for taking pictures. I have separately components MeasurementCameraScreen and MeasurementCamera. I'm using useRef() hook to be able to call takePictureAsync() from the MeasuremenCameraScreen. When pressing the take image -button takePicture()…

VIEW QUESTION

Check if one row of json data exist in React Native

I am creating a ticket scanner app with expo React Native. When I scan a qr code I have a var called ScannedCode. When I render the jsonData in the app the output is: {"txid":"ch_3LZwATA4WCavBwXA1iN5diTN"}{"txid":"ch_3LZwBNA4WCavBwXA0kPBItB3"}{"txid":"ch_3LZwEkA4WCavBwXA02WfrvTP"}{"txid":"ch_3LZwFMA4WCavBwXA0xaSxBTv"} I use an if statement…

VIEW QUESTION
Back To Top
Search