carverauto / flutter

🚨 ChaseApp opensource mobile app - follow live police chases 🚔
https://chaseapp.tv
MIT License
3 stars 0 forks source link

Bug - notifications history not showing up in 1.4.0 #164

Closed mfreeman451 closed 2 years ago

mfreeman451 commented 2 years ago

Just received a firehose notification on 1.4.0 under iOS, go into the app, click the bell icon, click firehose, dont see any history of notifications being received

rutvik110 commented 2 years ago

You need to add those notifications as documents in this notifications collection here as I mentioned in the wiki here

mfreeman451 commented 2 years ago

Ok I think it is all finally working..

wow that was brutal

    type myData struct {
        Id          string  `json:"id,omitempty"`
        Image       string  `json:"image"`
        Tweetid     string  `json:"tweet_id,omitempty"`
    }

    var d struct {
        Body        string      `json:"body"`
        CreatedAt   time.Time   `json:"created_at,omitempty"`
        Interest    string      `json:"interest"`
        Title       string      `json:"title"`
        Data        myData      `json:"data"`
    }
rutvik110 commented 2 years ago

Closing this issue as it's not relevant anymore and notifications history is working properly.