# ユーザーがアクティブな場合、iOS通知はプッシュ許可を失う可能性があります

**URL:** <https://meta.discourse.org/t/ios-notifications-can-lose-permission-to-push-if-the-user-is-currently-active/290225>\
**Category:** Bug\
**Created:** [2024 年 1 月 1 日午後 11:35 UTC](https://meta.discourse.org/t/ios-notifications-can-lose-permission-to-push-if-the-user-is-currently-active/290225 "2024-01-01T23:35:49Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2024 年 1 月 2 日午前 12:44 UTC](https://meta.discourse.org/t/ios-notifications-can-lose-permission-to-push-if-the-user-is-currently-active/290225/5 "2024-01-02T00:44:52Z")

</div>

この週末にこの件について読んだことから、プッシュイベントハンドラでasync/promisesを使用することさえできないことがわかりました。すぐに表示しないと、Appleは通知権限を剥奪します。

これはすべて、@dfabulichが言っていることと一致しています。

> [@sam](#):
>
> 終了チェックとアイドルチェックの両方を削除した場合、どのような影響がありますか？

ここでは「賢すぎる」のだと思います。すべてのチェックを削除して、通知を表示するだけでよいはずです。

---

_[View the full topic](https://meta.discourse.org/t/ios-notifications-can-lose-permission-to-push-if-the-user-is-currently-active/290225)._
