himanshuchauhan981 / E-commerce-app-using-flutter-and-firebase

Its a an complete flutter-firebase mobile app which has all the features that a e-commerce mobile app should have.
307 stars 88 forks source link

Admin panel not loading product data to firebase #71

Open Oliver-Moor opened 3 years ago

Oliver-Moor commented 3 years ago

Hi Himanshu,

I have set up the app and tried loading into firebase the product data. It is not loading. I can't seem to see an error. I am not getting any error from the app. I can log in with the app. That works fine and my account is visible in firebase.

I have manually added the product images to firebase, as instructed.

Any help would be much appreciated.

This is what I am getting in the debug console of VSCode: Restarted application in 659ms. W/DynamiteModule(28483): Local module descriptor class for providerinstaller not found. I/DynamiteModule(28483): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller(28483): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. W/DynamiteModule(28483): Local module descriptor class for providerinstaller not found. I/DynamiteModule(28483): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller(28483): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. W/ConnectivityManager.CallbackHandler(28483): callback not found for CALLBACK_AVAILABLE message Application finished. Exited (sigterm)

These are the rules I have set up for FireStore: rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if true; } } }

Thank you, Oliver

aryaamn commented 3 years ago

i have the same problem

skydie22 commented 3 years ago

same dude

himanshuchauhan981 commented 3 years ago

I checked with this issue. Following is the firestore rules which I am using service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if request.time < timestamp.date(2021,9, 21); } } }

Make sure that package name in firebase is same as package name in project. For this project, app name is "app_frontend". I was able to write sample products to firebase

Rahulbinod555 commented 2 years ago

I checked with this issue. Following is the firestore rules which I am using service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if request.time < timestamp.date(2021,9, 21); } } }

Make sure that package name in firebase is same as package name in project. For this project, app name is "app_frontend". I was able to write sample products to firebase

Please share your contact number

mayur6161 commented 2 years ago

I'm not getting products in the home page after even instructing as per you

mayur6161 commented 2 years ago

I checked with this issue. Following is the firestore rules which I am using service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if request.time < timestamp.date(2021,9, 21); } } }

Make sure that package name in firebase is same as package name in project. For this project, app name is "app_frontend". I was able to write sample products to firebase

please help im not able to make it work still

vorishirne commented 2 years ago

Same issue dude, is this project dead? It pops up at first on google anyways