Umeey_US is working on integrating Discourse into a Flutter mobile app, aiming for a native experience with login token handling and notification support.
Azkshine recommended exploring the Lexicon project, which might provide insight into handling features like notifications, but noted a lack of a known Flutter project. Moin mentioned a discussion on building a Flutter mobile app for a Discourse community, which might be of interest.
Lexicon shared their experience with push notifications, stating that the approach depends on the chosen notification dispatch service. They explained that their solution involved building a plugin for Expo’s Push Notification service, but suggested using existing plugins like the Discourse OneSignal plugin for other services, such as OneSignal.
I’m currently working on a proof of concept (POC) where I want to test running the Discourse micro web suite within a Flutter app. My goal is to make it feel like a native experience, and I also want the app’s login to handle the tokens. Notification support should also be there. Are there any architectures I should look into to achieve this?
Additionally, is there a Flutter version of Discourse available to simplify my work and create a more scalable solution?
@Umeey_US for push notifications, it depends on what you plan to use to actually dispatch notifications to Apple and Google so they are pushed to your users’ devices.
In our case, we needed our system to integrate with Expo’s Push Notification service, so we ended up building our own plugin for this.