I used the code in the AddPostScreen.js.
Everything works in the simulator. An image gets uploaded successfully in Firebase storage.
However, when I use my iPhone 8 device, it will work up to the part where I select the photo, it will display the photo selected, it will submit, show the success alert but after that it's returning null and it does NOT upload to Firebase Storage.
My Firebase security rules is not strict and allows writes if request.auth.uid != null;
I used the code in the AddPostScreen.js. Everything works in the simulator. An image gets uploaded successfully in Firebase storage. However, when I use my iPhone 8 device, it will work up to the part where I select the photo, it will display the photo selected, it will submit, show the success alert but after that it's returning null and it does NOT upload to Firebase Storage.
My Firebase security rules is not strict and allows writes if request.auth.uid != null;