You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Flutter应用Release模式下单个通知推送渠道失效问题求助

Flutter应用Release模式下单个通知推送渠道失效问题求助

各位好,我最近在开发Flutter移动端应用时碰到了个棘手的问题:我给应用配置了两个推送通知渠道,在Debug模式下两个渠道都能正常工作,完全能按照需求播放不同的通知音效。但一旦切换到Release模式,其中一个通知渠道就失效了,完全起不到作用。

下面是我的MainActivity.kt的部分代码:

import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.ContentResolver
import android.net.Uri
import android.os.Build
import and

有没有大佬遇到过类似的情况?或者能给我一些排查方向的建议?非常感谢!

备注:内容来源于stack exchange,提问作者Harshwardhan Vairagade

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.13 17:04:41