请教最新版的uniapp如何获取通知权限?
原来的方法报错不能用了
var main = plus.android.runtimeMainActivity();
var NotificationManagerCompat = plus.android.importClass("android.support.v4.app.NotificationManagerCompat");
var areNotificationsEnabled = NotificationManagerCompat.from(main).areNotificationsEnabled();
b***@qq.com (作者)
谢谢你
2021-08-03 15:39