Today we are going to look at storing data in firebase. It's a continuation of the previous class and app.
yarn add react-native-image-crop-picker
# Install the database module
yarn add @react-native-firebase/firestore
# Install the storage module
yarn add @react-native-firebase/storage
#adding checkbox for the todo example
yarn add @react-native-community/checkbox
# If you're developing your app using iOS, run this command
cd ios/ && pod install && cd ..
#Build and launch app
yarn ios
If you are follwing along via the Firebase App repo you need to
git pull
yarn install
cd ios/ && pod install && cd ..
#Build and launch app
yarn ios
To access photos on the iPhone you need to add these flags to Xcode>info.plist
To allow upload to storage you need to unlock it.
If you have troubles loading urls, this might be the reason. Enable Arbitrary Loads in Xcode>info.plist
Firestore
Image Picker with cropping
Image Picker alternative
Cloud storage
Firebase Console
Google Developer Console
React Native Firebase