Skip to content
Advertisement

Tag: react-native

I can’t figure out how to work with the object returned by Firebase get query

I’m building a React Native app with Expo and integrating Firebase (real time database) which I know has some limitations (https://docs.expo.dev/guides/using-firebase/). I’m trying to get a snapshot of the data using await get(query(… and have successfully done so, but I can’t figure out exactly what I’m working with. When I console.log it I get this: I was trying to return

Why these links are different and works same?

What is the different between above two links. And how can i convert Ist link to 2nd link using javascript or regex. Please help and give a expert advice. Answer URL encoding converts characters into a format that can be transmitted over the Internet. URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain

Expo SDK 43, No suitable URL request handler found for ph-upload://

After upgrade Expo SDK version from 41.0.0 to 43.0.0 I got a problem with uploading images to server. Error description: No suitable URL request handler found for ph-upload://A354049E-57C1-4478-B5C0-1DF56886F1AD. What I have noticed is that in error description I see ph-upload:// but if I log my photo it contains this: “uri”:”ph://A354049E-57C1-4478-B5C0-1DF56886F1AD”,”name”:”IMG_3702.JPG”,”type”:”photo”. The difference is ph-upload:// and ph://. This is my code:

Advertisement