Code

Discussion on Firebase And Firestore FireAdmin - admin panel console

mobidonia

mobidonia supports this item

Supported

This author's response time can be up to 2 business days.

333 comments found.

i need to know so can i add content on dashboard as i dont see any video for that

Hello anilpervaiz

It is the Containers/App.js file.

What you will see there is render function that prints the simple HTML for now.

It is left, so you can extend with your own functionality and make like custom admin panel.

Ex. We did analytics for Night Club Client http://prntscr.com/l7rnak

I’m receiving this error when I try to add a new ticket for the night club admin panel:

Uncaught TypeError: Cannot read property ‘fields’ of undefined at Firestoreadmin.addDocumentToCollection (Firestoreadmin.js:613) at onClick (Firestoreadmin.js:901) at HTMLUnknownElement.boundFunc (ReactErrorUtils.js:63) at Object.ReactErrorUtils.invokeGuardedCallback (ReactErrorUtils.js:69) at executeDispatch (EventPluginUtils.js:83) at Object.executeDispatchesInOrder (EventPluginUtils.js:106) at executeDispatchesAndRelease (EventPluginHub.js:41) at executeDispatchesAndReleaseTopLevel (EventPluginHub.js:52) at Array.forEach (<anonymous>) at forEachAccumulated (forEachAccumulated.js:22)

Hello mydigitera

Can you create support ticket here https://mobidonia.support-hub.io

Send us link to the admin, user and pass, and your Containers/Firestoreadmin.js

We will look into that.

I have a table (technical), and inside it (statusProv) , in my apps i set the value for it as (string) value like this (“0”) or (“1”) not as a integer value (0) or (1) see picture https://imgur.com/a/mxvUEfg the problem when change the value from fireadmin by drop down menu which i create it or even if i set the value directly (see picture) https://imgur.com/a/hTyfkcX , the value inside the database is changed to integer value without Quotation marks , it suppose be string value. (see picture) https://imgur.com/a/OcSxG5a

that cause a a crash in my app, i don’t want to change the field to integer value i want to keep it as a string value.

I hope to fix this error

Hello aqeel_hashem

Ok, I understand your problem.

In src/containers/Fireadmin.js around line 552 you will find this code

//To handle number values
      if(!isNaN(value)){
        value=Number(value);
      }

Feel free to remove it, it will save as strings.

For future support request pls send us ticket here https://mobidonia.support-hub.io

Thanks for the purchase. If you like it pls rate it :)

thanks, i will do :)

Hello mobidonia. I’ve opened a ticket about this issue, but wondering if you were away as I’ve not heard back since a couple of days. My issue is that I’m unable to update string values, but am able to update numbers. I do hope we can figure out the issue. I’ve sent you all my files in the src folder where I’ve made changes as per your documentation. Please advise.

Hello gmanikumar

Replied on ticket.

I have some elements in array, when I click to add an item, it returns the error

firestoreadmin

Error getting document: Error: Function DocumentReference.set() called with invalid data. Unsupported field value: undefined (found in field undefined)

var collectionMeta = { “categorias”: { “fields”: { “descricao”: “Nova Categoria” }, “collections”: [“detalhes”] }, “detalhes”: { “fields”: { “descricao”: “Novo detalhe”, “sexo”: [“Novo Sexo”], “macho”: [“Novo Macho”], “femea”: [“Nova Fêmea”], “misto”: [“Novo Misto”], “inputs”: [“Novo Input”], }, “collections”: [] } }

Hello flyp_felype

Sorry for late reply.

Pls create ticket here https://mobidonia.support-hub.io

Follow this guide https://mobidonia.support-hub.io/articles/allow-us-to-configure-firebase-admin-panel-for-you

And send us your config/app.js file

And let me know when the error occurs.

I have 5.1.0 version and goDirectlyInTheInsertedNode set ‘true’ and it doesnt go directly to new doc. any help?

Hello eugeniosafety

Thanks for the purchase.

in src/Containers/Fireadmin.js there is a function addItemToArray. Replace it with this one

https://gist.github.com/dimovdaniel/2bc6c2b6028598ad52b63b312e5bfcf2

Just to confirm, you are using Firebse RTDB and you are inserting into an array?

let me know.

Hi,

I just bought the project but are also seeing problems with the ‘goDirectlyInTheInsertedNode’ set to true. This is broken and does not currently work.

Best Regards Jakob

A second question: What is the easiest way to change the whole theme to a hex color?

Would be awesome if i could change the colors, fonts etc. from e.g. an appearance.js file.

Hello appment

We are working at the moment on using different templates in the project. Including bringing your own. It is complex process but will make it. Should be done within November.

Hello. I am thinking about buying your FrebaseAdmin App… Does the price include the Expo start up apps that you mention? if so, do you have a LINK or list of what is included in those apps? Thanks

No, it vice versa. They include the Firebase Admin Panel. If you go to details on App Platform https://codecanyon.net/item/universal-app-platform-full-multipurpose-all-in-one-react-native-mobile-app/21247686 all apps are numbered from 1 to 9 and you get plus the admin panel.

ah ok … I see… Do you know of any CRUD and API creation for Firebase panel available on CodeCanyon or elsewhere that you may recommend?

Regards

Hi,

i have three table (technical – users – orders) inside every one field (createDate)

i want to sort the data by date, to show the newest first.

Replied on ticket.

please reply to my tickets

Replied on ticket.

Hi,

I have a question about your Admin Tool. I would like to use this admin to manage my Firebase FireStore app that has features like:

• Chat room and 1-on-1 chat. • Contact form. • Content like articles, videos…CMS. • eCommerce • and more…

Can the tool be configured to handle all that?

Thanks

Hello handytechguy

Thanks for the interest. Yes, it can manage all your Firebase and Firestore data.

could you check support email? its resetting the node keys when too many tabs are opened for elements available in table.

Hello Penandweb

Yes, looked closely into the issue but couldn’t reproduce. I wrote you to send me your app.js file, so can test with your setup.

Hello! On start following your video instruction got following errors: Error in ./src/index.js Module not found: ‘firebase’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src

@ ./src/index.js 29:16-35

Error in ./src/index.js Module not found: ‘firebase/firestore’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src

@ ./src/index.js 41:0-29

Error in ./src/Login.js Module not found: ‘firebase’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src

@ ./src/Login.js 26:16-35

Error in ./src/Login.js Module not found: ‘firebase/firestore’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src

@ ./src/Login.js 40:0-29

Error in ./src/containers/Firestoreadmin.js Module not found: ‘firebase’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src/containers

@ ./src/containers/Firestoreadmin.js 68:16-35

Error in ./src/containers/Firestoreadmin.js Module not found: ‘firebase/firestore’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src/containers

@ ./src/containers/Firestoreadmin.js 82:0-29

Error in ./src/containers/Push.js Module not found: ‘firebase’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src/containers

@ ./src/containers/Push.js 28:16-35

Error in ./src/containers/Push.js Module not found: ‘firebase/firestore’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src/containers

@ ./src/containers/Push.js 44:0-29

Error in ./src/config/firestoreschema.js Module not found: ‘firebase’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src/config

@ ./src/config/firestoreschema.js 3:16-35

Error in ./src/config/firestoreschema.js Module not found: ‘firebase/firestore’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src/config

@ ./src/config/firestoreschema.js 9:0-29

Error in ./src/components/fields/GoogleMap.js Module not found: ‘firebase’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src/components/fields

@ ./src/components/fields/GoogleMap.js 22:16-35

Error in ./src/components/fields/GoogleMap.js Module not found: ‘firebase/firestore’ in /Volumes/Disk 2/Downloads/dimovdaniel-reactfireadmin-a24f53b330e5/src/components/fields

@ ./src/components/fields/GoogleMap.js 36:0-29

What should I do?

Hello oleg

Pls try this

1. Remove node_modules folder
2. Remove package-lock.json
3. Run sudo npm install n -g
Enter your password
4. Run n 10.9.0

In your project folder where package.json file is
5. Run npm install
6. Run npm start

And let me know

Hello

Please take a look at my previous comment. It happens on yarn start command in terminal.

Replied on the comment. Let us know if we can help more.

Thanks, doing it now

by
by
by
by
by
by