How to upload images to different sub-collection in cloud firebase firestore in react - file-upload

I'm creating a react shopping app that contain different collections of items like hat page, sneakers page, and others a great insight on what I mean. I want an admin of the app to be able to upload to a particular page he/she wish to, base on the form that will be filled before uploading. Implementing this awesome feature has been a problem on my neck and I hope to find a befitting suggestion or preferably,
a solution on how to go about this. I'll be highly thrilled if I can help be helped out. I'm using firebase storage and cloud firestore to handle files upload and database respectively. A million thanks in advance

Related

Need to track downloads of App with referral

We have one requirement as there will be one link with QR code of stores, we will share these links with different different persons. From that link we will allow user to open google play store or apple store.
Now we want to track how many persons have downloaded mobile application for each Stores.
We have checked https://www.npmjs.com/package/react-native-check-app-install but its for all download, and we need referral download counts.
If Anyone have done same in react native then please give guidance on same.
Thanks in advance.

Best way to use Offline storage for images in React Native

I'm stuck for making my react native app offline for storing the images.
what is the best way to use, shall i go with AsyncStorage, Real m, CouchDB or WatermelonDB.
Actually i am new to React Native, so i want to use the best solution.
Please help me.
Thanks in advance.
By the common ways. There are no databases actually store media. They actually save media files in physic / cloud servers and store only access url in database.
So, to achieve your technical goal. You can use react-native-fs to interact with your media files. And save their url into your database like Realm, PouchDB, AsyncStorage.
I think AsyncStorage is simple to setup and suitable for save media url.

How would I make my own feed/marketplace? [React Native]

I am so curious about how companies make their own marketplace within an application? I am trying to achieve a marketplace where individuals can sell products on a mobile application. So when a user logs into the app they are met with a live feed of various products. Something similar to the GOAT app, eBay, or Etsy. Usually, I know where to start, however, I have never dealt with an idea so complex. I know it can be done because it has been done multiple times over. However, I am asking if someone could provide me with some guidance. I did some Googling but came out empty-handed. Is there a video tutorial or a step-by-step guide on something like this? I also do not mind buying a course if I can achieve this effect!
Currently, what I have now are three pages! A working signup and login screen with a firebase backend that authenticates a user's email and password. It leads to my home page which is very basic. Just a header with tab navigation! I know it is very barebones... however I came here to see if I can be provided with some steps from here. Maybe even a proper technology stack.
Thank you in advance for any help!
Here are some examples of apps with live marketplaces:
https://appsftw.com/app/looklive-shopping-app-discover-celebrity-fashion
https://itunes.apple.com/us/app/shop-sell-save-with-ebay/id282614216?mt=8
https://itunes.apple.com/us/app/goat-shop-sneakers/id966758561?mt=8
Hey research marketplaces with ready app react-native template like this template e-commerce . But you need some knowledge about react-native or you can ask a freelancers.

try to get content in google plus from China

I am a developer from China where we cannot access content from google plus or facebook due to some "special reason(been blocked)", and I want to get some wonderful content from google+, and put them into my online education website, all content is about learning knowledge.
So my first solution is: call google+ api to get these content, then store them into my site DB(of course, I will write clearly where those are from), but this solution is only for the text, for images, most of them were stored in googleusercontent.com(which is also blocked in China), and I don't want to download these images then store to my own website(overload is too big).
I want to transfer these pictures into other websites(not been blocked in China), then I noticed site: getpocket.com can save image from other websites, and they seem have some cache, can I use this feature? after get image url from google+, then call getpocket api to save this image, but don't know where api will return the cached image url), is it possible do this?
Does anyone have good solution for this images? so I can transfer these good learning knowledge to Chinese people?
(google+ activity api like this: https://www.googleapis.com/plus/v1/people/108305986241738899171/activities/public?maxResults=20&key=)
thanks everybody
I use mongoDB to store image which will be transfer to base64 string. e.g: http://www.tomylearn.com/netTest/index/listInfonews.do?categoryid=47

Create/Update Page Tabs - Using API

I am very new to facebook application development and gone through the 'Getting Started' guides and Beginner tutorials. Actually it's good to place to start and familiarize the terms and core knowledge about app development.
There is a customer requirement where they can able to create/update custom tabs(for pages) for all of their customer's facebook account.
I just need to make sure that I am progressing on the correct path.
1) Create an App
2) Customize the permissions for accessing user's pages/tabs
3) Create/Update/remove/maintain the tabs with this application
Please advise if I missed anything here. It would be helpful if you point any good places to start/architecture etc... Thanks in advance.
To manipulate tabs for a page, you need the manage_pages permission.
For more details on what you can do with tabs using the Graph API: http://developers.facebook.com/docs/reference/api/page#tabs