Giter Club home page Giter Club logo

Comments (5)

ybeshkarov avatar ybeshkarov commented on June 30, 2024

Hello @YuriYabe!

After running flutterfire configure, you should see changes in lib/firebase_options.dart. Can you confirm if you are seeing these changes?

from flutter_thingsboard_pe_app.

YuriYabe avatar YuriYabe commented on June 30, 2024

Hi @ybeshkarov , thanks for your response! Yes, I see the changes. Actually, I managed to resolve it during the night. I deleted the firebase_options file and when I did flutterfire configure, it recreated it correctly! I see the notifications now.

However, as soon as I open the app, I get a message "path '/api/notifications/unread/count': not found." I can close it, but it appears every time I reopen the app! In fact, I can't see the unread notifications. Do you have any idea what the problem might be? Tonight I will try to rebuild the app from scratch!

(At least the notifications arrive; if I go under "all" I can see them. The problem is only with the "unread" ones.)

from flutter_thingsboard_pe_app.

YuriYabe avatar YuriYabe commented on June 30, 2024

Hi @ybeshkarov , thanks for your response! Yes, I see the changes. Actually, I managed to resolve it during the night. I deleted the firebase_options file and when I did flutterfire configure, it recreated it correctly! I see the notifications now.

However, as soon as I open the app, I get a message "path '/api/notifications/unread/count': not found." I can close it, but it appears every time I reopen the app! In fact, I can't see the unread notifications. Do you have any idea what the problem might be? Tonight I will try to rebuild the app from scratch!

(At least the notifications arrive; if I go under "all" I can see them. The problem is only with the "unread" ones.)

UPDATE: (Now I still have the same error, but when I go to "unread" I can see the notifications.)

from flutter_thingsboard_pe_app.

ybeshkarov avatar ybeshkarov commented on June 30, 2024

Hi @YuriYabe,

It's good to hear that the notifications are working for you now.

The error message path '/api/notifications/unread/count': not found indicates that your ThingsBoard instance doesn't have the specified endpoint https://thingsboard.cloud/swagger-ui/#/notification-controller/getUnreadNotificationsCountUsingGET.

This endpoint was added in version 3.6.4.

from flutter_thingsboard_pe_app.

ybeshkarov avatar ybeshkarov commented on June 30, 2024

Closed due to no further action required. Please reopen if the issue persists.

from flutter_thingsboard_pe_app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.