Can anybody suggest me, i am confused how should i use tiny db to store that image, after i purchase the character from store, it comes on my inventory but it dissappears after i reopen app again, any way to slove plz guide me i don’t know how to use tiny db i even read the guide on how to use but can’t find a way to use to store the image on inventory
Please do not tag users. Actually you can not save the actual images to tinyDB but the path to images. Where do you store images to be purchased , in firebase storage or …? Once image is purchased you can download it to user’s phone and save path to tinydb
Thanks i sloved the problem can u teach me one thing, i created three items in market which are respectively item 1,item 2 and item 3,is it possible to make that way that item 2 cannot he purchased until the user have purchased item no 1 and similarly the user can’t purchase item no 3 without purchasing or owning item no 2
I hope you should use either firebase of baserow or gsheet or airtable as one of the database to solve this issue.
If user purchase any item, check any item is present or not. If no mean allow to user can purcahse item if it is item1.
If item present mean, compare the purchase item with database item. If the database item is not item1, then store it in the database.is not next tot he database item then disagree , suppose if it is next to the database item then allow purchase…