开发者

How to enable-disable Notifications in settings app using sdk?

开发者 https://www.devze.com 2022-12-13 09:47 出处:网络
I want to use push notification in my app so first time it launches it will automatically ask for notification.So i want to enable-disable push notification settings for my app programmatically.Note-I

I want to use push notification in my app so first time it launches it will automatically ask for notification.So i want to enable-disable push notification settings for my app programmatically.Note-I do not want to unregistered my app just disable Alert,badge,Sound for my 开发者_如何学Capp in settings app.


You can't do this via the SDK. You'll have to inform the user that your app requires push notifications turned on, and then they'll have to go to Settings and turn it on themselves.

Apps have no control over the phone's settings, only its own.

0

精彩评论

暂无评论...
验证码 换一张
取 消