iOS Mobile App Notifications

Sorry I need a break from this topic.

4 个赞

This topic was automatically opened after 13 days.

I’m an admin of a new Discourse forum running on Digital Ocean. All’s working well so far as we prep to open our doors in a month or so.

The Discourse IOS app is working but seemingly with some quirks. And we just noticed the phrase in the App store description:

“for officially hosted discourse forums”

What should I tell my users to expect with their use of the Apps, both Android and IOS?

Primarily the native notification issue, other than that it will work as expected.

6 个赞

@codinghorror Is there any way to pay for iOS push notification functionality witha self hosted forum?

1 个赞

No, this is not possible. You’d need to use a paid Discourse specific hosting plan, either here or elsewhere.

5 个赞

If it’s a DO discourse droplet?

That is “self hosted” in this context.

1 个赞

Hey @jtbayly I recently published a plugin for pushover that allows a user to sign up for push notifications over Pushover. Other push services could probably be added with not too much difficulty. Maybe this can help scratch your itch here.

6 个赞

Thanks for sharing that here. I had totally missed it.

1 个赞

您是否找到了在自建环境中成功接收通知的方法?如果是,能否分享您的经验,帮我省去试错的过程?拜托了。

1 个赞

是的,但这与本帖无关。我只是在 iPhone 上下载了一个名为 Fig 的免费应用。在其他所有设备上,推送通知都能开箱即用。希望这能帮到你。

3 个赞

实际上——别担心。我找到了它“Fig for Discourse”

1 个赞

大家好,抱歉打扰。想确认一下自托管论坛的 iOS 推送通知问题的进展。这里已经有一段时间没有更新了。有什么新消息吗?还是说目前仍然无法实现?谢谢!

近期我们并未对 iOS 应用进行任何更新以增强对自建推送通知的支持。不过,该应用确实包含一个后台任务,旨在每隔约半小时运行一次并拉取推送通知。此功能依赖于操作系统提供的后台获取服务,而该服务以不可靠著称,因此其实际效果可能不尽如人意。

7 个赞

@pmusaraj 非常感谢这次更新!

@pmusaraj 这方面有什么新消息吗?

1 个赞

抱歉,但自建推送通知意味着您需要在 Apple 注册账户。Discourse 无法处理非托管论坛的数据。

暂无更新。

1 个赞

谢谢 Sam。当你提到向 Apple 注册一个“活动”时,具体该如何操作?因为这并非针对某个应用的开发者活动,而是专门针对使用 Discourse 应用的网站。这是否可行?

您将需要:

  1. 分叉 Discourse Hub
  2. 注册 Apple 开发者账户
  3. 将其重新打包为适用于您网站的独立应用
  4. 发布到 App Store
  5. 构建处理推送通知的基础设施

恐怕这里没有简单的解决方案。在 Android 平台上,Google 提供了公共代理,而 Apple 则没有提供此类服务。

1 个赞