Build a Social Media App with FlutterFlow #33 - Notification page part 2

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024

Комментарии • 12

  • @anli6987
    @anli6987 5 месяцев назад +1

    How to delete the notification by the people undo their action?

    • @learn_no-code
      @learn_no-code  5 месяцев назад

      A good suggestion but now we have finished notification and now into the groups feature

  • @RandeepSingh128
    @RandeepSingh128 5 месяцев назад

    Nice, but big brother I've encountered a new problem. When I attempt to open a commenter's profile by clicking on their profile picture, the entire screen turns red and displays the error: "Unexpected null value, error causing widget was: userProfileWidget." I'm confident that my logic is correct and that I've properly passed the commentUser (ref) into the userID parameter when navigating to the userProfile Page. Help please!!

    • @dxan
      @dxan 5 месяцев назад

      just create a document from reference in the backend query in the profile row where you are clicking to go to his or her profile and the document query will be the user document. that is how the error will not show up and then add action navigate to the other user profile

    • @RandeepSingh128
      @RandeepSingh128 5 месяцев назад +1

      @@dxan thanks for the reply! But brother I have already set up the comment user data in the listview that's why all comments are shown, and the comments collection already has the data for commentUser so I think there is no need to do a document from the ref query! Despite this I have tried adding documents from ref and then passed the comment user in it and also in parameters, but it gave me an error: "unexpected null value". (The result was that all the comments disappeared so I reverted it back). Error is something else buddy! I tried many things. I have setup the same thing for opening the user profile from the post, it's working perfectly but when I do the same with comments it gives that error.

    • @dxan
      @dxan 5 месяцев назад

      Do not use the parameter reference of the user. It will not be right. Use the user document from the comment query. I have implemented the same function and it's working fine.

    • @RandeepSingh128
      @RandeepSingh128 5 месяцев назад

      ​@@dxan but bro we can't navigate to the user profile page without passing any Id into its parameters! How are you doing it? Can we talk somewhere else?

    • @learn_no-code
      @learn_no-code  5 месяцев назад +1

      hi, good to see you guys talking about such a topic, personally, i have had this issue so many times and i suggest that you reach out to me on twitter and send me a video showing me the issue then i'll be more than happy to help@@RandeepSingh128