Embed Discourse in a native app?

I see your intentions here, it makes sense to want to integrate a webview of a Discourse forum in an existing app. I’ve seen this done in a few apps and if you have experienced mobile app developers it’s not an impossible task.

Your challenges will be around:

  • authentication, some identity providers (e.g. Google), do not allow authentication in a webview, period. And it’s tricky to sync sessions between your native app and the webview
  • push notifications: you need to hook up your Discourse notifications to an APNS server somewhere, you can do this via web hooks, a custom Discourse plugin or a third party (OneSignal, Amazon SNS, etc.)

And as Sam noted above, there will be little details and maintenance issues that will creep up over time.