Start
Thank you for downloading MyKart ecommerce android template with Firebase. Please use this help file to be your guide. If you have any questions, please drop us an email to spacexfrog@gmail.comSteps to Integrate firebase to your project
Follow the below steps to integrate firebase to your project.

Under Step 6, paste this below code and click "publish".
{ "rules": { "users": { "$uid": { ".write": "auth !== null && auth.uid === $uid", ".read": "auth !== null && auth.provider === 'password'", "username": { ".validate": " !root.child('usernames').child(newData.val()).exists() || root.child('usernames').child(newData.val()).val() == $uid" }, ".indexOn": "username" // index tasks in their title property } }, ".read": true, ".write": true } }Under Step 7, paste this below code and click "publish".
service firebase.storage { match /b/{bucket}/o { match /{allPaths=**} { allow read, write: if request.auth == null; } } }How to import json file
Just like you did in the above step,click on the database option on the left , you will now see a overflow button on the right click that and choose import json, now browse the json file from where you want and import it. If you want to use your own data you can simple click the "+" beside Mykart and add data.
How to update the images in database
The image url which you copied in previous step need to pasted as below wherever you need that image, for example i copied the sofa image and pasted it under sofa's of furniture category as below. Do this by uploading new images and using those images url wherever you want under database section of your app.
Comments
Post a Comment