【问题标题】:Futter :- Start vibrating or ringing phone continuously after sending specific notificationFutter :- 发送特定通知后开始连续振动或响铃电话
【发布时间】:2023-01-11 14:27:32
【问题描述】:

当我向特定用户组触发特定类型的通知时,他们的手机将开始振动或连续响铃,直到用户不停止应用程序。 谁能建议我怎样才能成为可能?或任何在终止状态下有用并在所有状态下开始振动的包? 谢谢你。

【问题讨论】:

    标签: android ios flutter push-notification vibration


    【解决方案1】:

    请在此处提供 sn-ps 代码。您可能已经在 build 方法而不是 initState 方法中初始化了您的通知类。

      @override
      void initState() {
        super.initState();
        NotificationHandler().initializeFcmNotification();
      }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-04-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多