How to use Discourse as microwebsite in mobile app

AI-generated summary

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.

Hey everyone,

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?

Hi, welcome to meta :wave:

I’m not sure if it could help, but there is this Lexicon project: Lexicon: a customizable native mobile app for your Discourse site that you might be interested in how it handles features such as notifications.

Unfortunately, I’m not aware of a Flutter project. :thinking:

There is Flutter Mobile App for your Discourse Community, but you probably already found that while searching.

@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.

However, if you wanted to use something like OneSignal, you could leverage the existing work done in the Discourse OneSignal plugin.

Perhaps there are other plugins that integrate with similar services that you could use.