{"action":"created","issue":{"url":"https://api.github.com/repos/mobfox/MobFox-Android-SDK-Core-Lib/issues/17","repository_url":"https://api.github.com/repos/mobfox/MobFox-Android-SDK-Core-Lib","labels_url":"https://api.github.com/repos/mobfox/MobFox-Android-SDK-Core-Lib/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/mobfox/MobFox-Android-SDK-Core-Lib/issues/17/comments","events_url":"https://api.github.com/repos/mobfox/MobFox-Android-SDK-Core-Lib/issues/17/events","html_url":"https://github.com/mobfox/MobFox-Android-SDK-Core-Lib/issues/17","id":145225574,"number":17,"title":"Play Services crash","user":{"login":"deadgoat","id":8400485,"avatar_url":"https://avatars.githubusercontent.com/u/8400485?v=3","gravatar_id":"","url":"https://api.github.com/users/deadgoat","html_url":"https://github.com/deadgoat","followers_url":"https://api.github.com/users/deadgoat/followers","following_url":"https://api.github.com/users/deadgoat/following{/other_user}","gists_url":"https://api.github.com/users/deadgoat/gists{/gist_id}","starred_url":"https://api.github.com/users/deadgoat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadgoat/subscriptions","organizations_url":"https://api.github.com/users/deadgoat/orgs","repos_url":"https://api.github.com/users/deadgoat/repos","events_url":"https://api.github.com/users/deadgoat/events{/privacy}","received_events_url":"https://api.github.com/users/deadgoat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-01T16:34:36Z","updated_at":"2016-04-02T07:27:31Z","closed_at":null,"body":"Not sure if this used to happen with the older SDK. But would it be possible to fail silently in case Play Services is not available? Considering that AdMob works without Play Services, it'd be nice if MobFox doesn't crash the app.\r\n\r\n\r\n```\r\nE/MobFoxLog: GooglePlayServicesNotAvailableException\r\n             com.google.android.gms.common.GooglePlayServicesNotAvailableException\r\n                at com.google.android.gms.ads.identifier.AdvertisingIdClient.zzp(Unknown Source)\r\n                at com.google.android.gms.ads.identifier.AdvertisingIdClient.zzb(Unknown Source)\r\n                at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo(Unknown Source)\r\n                at com.mobfox.sdk.GetAdvertisingIdTask.doInBackground(GetAdvertisingIdTask.java:28)\r\n                at com.mobfox.sdk.GetAdvertisingIdTask.doInBackground(GetAdvertisingIdTask.java:16)\r\n                at android.os.AsyncTask$2.call(AsyncTask.java:288)\r\n                at java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)\r\n                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n                at java.lang.Thread.run(Thread.java:841)\r\n                                                                 \r\nE/MobFoxLog: NullPointerException\r\n             java.lang.NullPointerException\r\n                 at com.mobfox.sdk.GetAdvertisingIdTask.doInBackground(GetAdvertisingIdTask.java:42)\r\n                 at com.mobfox.sdk.GetAdvertisingIdTask.doInBackground(GetAdvertisingIdTask.java:16)\r\n                 at android.os.AsyncTask$2.call(AsyncTask.java:288)\r\n                 at java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n                 at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)\r\n                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n                 at java.lang.Thread.run(Thread.java:841)\r\n```"},"comment":{"url":"https://api.github.com/repos/mobfox/MobFox-Android-SDK-Core-Lib/issues/comments/204666300","html_url":"https://github.com/mobfox/MobFox-Android-SDK-Core-Lib/issues/17#issuecomment-204666300","issue_url":"https://api.github.com/repos/mobfox/MobFox-Android-SDK-Core-Lib/issues/17","id":204666300,"user":{"login":"nabriski","id":346104,"avatar_url":"https://avatars.githubusercontent.com/u/346104?v=3","gravatar_id":"","url":"https://api.github.com/users/nabriski","html_url":"https://github.com/nabriski","followers_url":"https://api.github.com/users/nabriski/followers","following_url":"https://api.github.com/users/nabriski/following{/other_user}","gists_url":"https://api.github.com/users/nabriski/gists{/gist_id}","starred_url":"https://api.github.com/users/nabriski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabriski/subscriptions","organizations_url":"https://api.github.com/users/nabriski/orgs","repos_url":"https://api.github.com/users/nabriski/repos","events_url":"https://api.github.com/users/nabriski/events{/privacy}","received_events_url":"https://api.github.com/users/nabriski/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T07:27:31Z","updated_at":"2016-04-02T07:27:31Z","body":"Yes, this is a bad ad which I will forward to our ad quality people. \r\nOf course, it should not crash the SDK and the fix for this is already part of our Sunday/Monday update. \r\nI will close this issue once the update goes live so you'll be notified."}}