{"action":"created","issue":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/616","repository_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK","labels_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/616/labels{/name}","comments_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/616/comments","events_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/616/events","html_url":"https://github.com/OneSignal/OneSignal-Android-SDK/issues/616","id":354316709,"node_id":"MDU6SXNzdWUzNTQzMTY3MDk=","number":616,"title":"Crash OneSignalSyncServiceUtils IllegalArgumentException","user":{"login":"danlex-corp","id":5173316,"node_id":"MDQ6VXNlcjUxNzMzMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/5173316?v=4","gravatar_id":"","url":"https://api.github.com/users/danlex-corp","html_url":"https://github.com/danlex-corp","followers_url":"https://api.github.com/users/danlex-corp/followers","following_url":"https://api.github.com/users/danlex-corp/following{/other_user}","gists_url":"https://api.github.com/users/danlex-corp/gists{/gist_id}","starred_url":"https://api.github.com/users/danlex-corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danlex-corp/subscriptions","organizations_url":"https://api.github.com/users/danlex-corp/orgs","repos_url":"https://api.github.com/users/danlex-corp/repos","events_url":"https://api.github.com/users/danlex-corp/events{/privacy}","received_events_url":"https://api.github.com/users/danlex-corp/received_events","type":"User","site_admin":false},"labels":[{"id":717330428,"node_id":"MDU6TGFiZWw3MTczMzA0Mjg=","url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/labels/Awaiting%20Details","name":"Awaiting Details","color":"bfdadc","default":false},{"id":908888564,"node_id":"MDU6TGFiZWw5MDg4ODg1NjQ=","url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/labels/Bug:To_Confirmation","name":"Bug:To_Confirmation","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-27T13:22:24Z","updated_at":"2018-08-28T12:03:09Z","closed_at":null,"author_association":"NONE","body":"\r\nHi, I am got a lot of this crash in Google Play Console:\r\n```\r\njava.lang.IllegalArgumentException: \r\n  at android.os.Parcel.readException (Parcel.java:1687)\r\n  at android.os.Parcel.readException (Parcel.java:1636)\r\n  at android.app.job.IJobScheduler$Stub$Proxy.schedule (IJobScheduler.java:158)\r\n  at android.app.JobSchedulerImpl.schedule (JobSchedulerImpl.java:42)\r\n  at com.onesignal.OneSignalSyncServiceUtils.scheduleSyncServiceAsJob \r\n    (OneSignalSyncServiceUtils.java:137)\r\n  at com.onesignal.OneSignalSyncServiceUtils.scheduleSyncTask (OneSignalSyncServiceUtils.java:113)\r\n  at com.onesignal.OneSignalSyncServiceUtils.scheduleSyncTask (OneSignalSyncServiceUtils.java:60)\r\n  at com.onesignal.OneSignal.onAppLostFocus (OneSignal.java:1089)\r\n  at com.onesignal.ActivityLifecycleHandler$AppFocusRunnable.run (ActivityLifecycleHandler.java:171)\r\n  at android.os.Handler.handleCallback (Handler.java:836)\r\n  at android.os.Handler.dispatchMessage (Handler.java:103)\r\n  at android.os.Looper.loop (Looper.java:203)\r\n  at android.os.HandlerThread.run (HandlerThread.java:61)\r\n```\r\non Android 7.0 and Adnroid 5.0.\r\nDevices: Redmi Note 4 (mido), Galaxy A3 (a3lte), Honor 6C Pro (HWJMM), HOMTOM S16\r\n\r\nI'm using OneSignal version 3.10.1"},"comment":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/comments/416558715","html_url":"https://github.com/OneSignal/OneSignal-Android-SDK/issues/616#issuecomment-416558715","issue_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/616","id":416558715,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjU1ODcxNQ==","user":{"login":"danlex-corp","id":5173316,"node_id":"MDQ6VXNlcjUxNzMzMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/5173316?v=4","gravatar_id":"","url":"https://api.github.com/users/danlex-corp","html_url":"https://github.com/danlex-corp","followers_url":"https://api.github.com/users/danlex-corp/followers","following_url":"https://api.github.com/users/danlex-corp/following{/other_user}","gists_url":"https://api.github.com/users/danlex-corp/gists{/gist_id}","starred_url":"https://api.github.com/users/danlex-corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danlex-corp/subscriptions","organizations_url":"https://api.github.com/users/danlex-corp/orgs","repos_url":"https://api.github.com/users/danlex-corp/repos","events_url":"https://api.github.com/users/danlex-corp/events{/privacy}","received_events_url":"https://api.github.com/users/danlex-corp/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T12:03:09Z","updated_at":"2018-08-28T12:03:09Z","author_association":"NONE","body":"I added this permissions, the problem was solved, but only after a full reinstallation of the application. When updating, the error remained. But I still do not want to prescribe this permisions, it may scare the user."}}
{"actor":{"display_login":"danlex-corp"}}