Open jamilsaadeh97 opened 1 year ago
Hi everyone,
I would also love to see this feature added to amplify-flutter. Specifically, I would like to send notifications to active users (opened apps), depending on custom back-end triggers.
I was considering push-notifications, but I don't want to rely on whether the user authorized them.
I was also considering websockets, but having to maintain a channel open for every active app seems like a really suboptimal solution. (Having to deal with the 10 minutes timeout + the cost of the channel that is used >1% of the time).
In app-messaging really seems to be the way to go, but if anyone has a temporary solution, I will gladly hear it.
Cheers,
Hi @ClemPalf - thank you for this feedback! We will for sure take it into consideration - I agree that based on your use case In-App messaging seems to be a good fit. I am curious to hear more about the 10 minute timeout piece - where does that come from?
Hi @abdallahshaban557,
I was speaking of the Idle Connection Timeout set by API gateway on websocket connections.
I guess I could send "pings" to keep it alive, but that feels suboptimal, especially as it will be waiting for a notification that might never occur.
Hi @ClemPalf - got it - that makes sense. Thank you for that feedback!
@abdallahshaban557 is there already a roadmap when/if in app messaging will be available for Flutter?
Hi @patrick-hieber - I am no longer a part of the Amplify team, but @haverchuck can help in answering questions moving forward on Amplify Flutter!
Description
I suggest In-App Messaging feature for Amplify Flutter like the one found in React Native.
Categories
Steps to Reproduce
No response
Screenshots
No response
Platforms
Flutter Version
3.7.7
Amplify Flutter Version
1.0.0
Deployment Method
Amplify CLI
Schema
No response