# 可以完全通过 API 使用 Discourse 来构建 Flutter 应用程序吗？

**URL:** <https://meta.discourse.org/t/can-discourse-be-used-entirely-through-the-apis-to-build-a-flutter-app/342554>\
**Category:** Development\
**Created:** [2024年十二月15日 19:01 UTC](https://meta.discourse.org/t/can-discourse-be-used-entirely-through-the-apis-to-build-a-flutter-app/342554 "2024-12-15T19:01:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2024年十二月15日 19:31 UTC](https://meta.discourse.org/t/can-discourse-be-used-entirely-through-the-apis-to-build-a-flutter-app/342554/6 "2024-12-15T19:31:49Z")

</div>

> [@SubStrider](#):
>
> 您说的与主题组件和插件生态系统不兼容是什么意思？

这些（主题组件是100%前端）的前端元素是用EmberJS编写的，并使用了Discourse的JavaScript API。

您几乎肯定会切断所有这些定制化。

> [@SubStrider](#):
>
> 您的意思是插件不会暴露API，因此不能在自定义移动应用程序上使用吗？

不，但没有前端的更改，它们 pretty useless。

请看我的帖子：

> [@Flutter Mobile App for your Discourse Community](https://meta.discourse.org/t/flutter-mobile-app-for-your-discourse-community/299768/5?u=merefield):
>
> But there is? [Whitelisted Discourse app with Push Notifications via OneSignal](https://meta.discourse.org/t/whitelisted-discourse-app-with-push-notifications-via-onesignal/58247) (good solution as uses Web View allowing most plugins and theme components to work but needs yearly maintenance) The official [‎Discourse Hub on the App&nbsp;Store](https://apps.apple.com/us/app/discourse-hub/id1173672076) and android equivalent [https://play.google.com/store/apps/details?id=com.discourse](https://play.google.com/store/apps/details?id=com.discourse)[Lexicon: a customizable native mobile app for your Discourse site](https://meta.discourse.org/t/lexicon-a-customizable-native-mobile-app-for-your-discourse-site/201085) But: Discourse is already a PWA so the benefits are minimal? Once Apple chooses to fix its support for web …

（主题已在上面链接）

基本上，作为项目来说很有趣，但我确信它在经济上和技术上都没有多大意义。

如果您想在应用商店上部署，有一个好得多的选择。

---

_[View the full topic](https://meta.discourse.org/t/can-discourse-be-used-entirely-through-the-apis-to-build-a-flutter-app/342554)._
