{"action":"opened","issue":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/129","repository_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK","labels_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/129/comments","events_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/129/events","html_url":"https://github.com/OneSignal/OneSignal-Android-SDK/issues/129","id":183641288,"number":129,"title":"Sony phones crash when removing badge permission","user":{"login":"iForests","id":307714,"avatar_url":"https://avatars.githubusercontent.com/u/307714?v=3","gravatar_id":"","url":"https://api.github.com/users/iForests","html_url":"https://github.com/iForests","followers_url":"https://api.github.com/users/iForests/followers","following_url":"https://api.github.com/users/iForests/following{/other_user}","gists_url":"https://api.github.com/users/iForests/gists{/gist_id}","starred_url":"https://api.github.com/users/iForests/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iForests/subscriptions","organizations_url":"https://api.github.com/users/iForests/orgs","repos_url":"https://api.github.com/users/iForests/repos","events_url":"https://api.github.com/users/iForests/events{/privacy}","received_events_url":"https://api.github.com/users/iForests/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T09:58:58Z","updated_at":"2016-10-18T09:58:58Z","closed_at":null,"body":"I follow the instruction here: [Disable Badges](https://documentation.onesignal.com/docs/android-native-sdk#section-disable-badges), but a lot of Sony phones crash. The error message is:\r\n\r\n```\r\nFatal Exception: java.lang.SecurityException: Missing permission to insert badges\r\n       at android.os.Parcel.readException(Parcel.java:1627)\r\n       at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)\r\n       at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)\r\n       at android.content.ContentProviderProxy.insert(ContentProviderNative.java:476)\r\n       at android.content.ContentResolver.insert(ContentResolver.java:1240)\r\n       at android.content.AsyncQueryHandler$WorkerHandler.handleMessage(AsyncQueryHandler.java:96)\r\n       at android.os.Handler.dispatchMessage(Handler.java:102)\r\n       at android.os.Looper.loop(Looper.java:224)\r\n       at android.os.HandlerThread.run(HandlerThread.java:61)\r\n```\r\n\r\nThe affected phones are all Sony's.\r\n\r\nPlease let me know if I can provide any additional information. Thanks."}}
{"actor":{"display_login":"iForests"}}