开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜