{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-SampleApp/issues/20","labels_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-SampleApp/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-SampleApp/issues/20/comments","events_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-SampleApp/issues/20/events","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-SampleApp/issues/20","id":117302406,"number":20,"title":"SampleApp is just terminated on the android device. ","user":{"login":"muphy","id":4695061,"avatar_url":"https://avatars.githubusercontent.com/u/4695061?v=3","gravatar_id":"","url":"https://api.github.com/users/muphy","html_url":"https://github.com/muphy","followers_url":"https://api.github.com/users/muphy/followers","following_url":"https://api.github.com/users/muphy/following{/other_user}","gists_url":"https://api.github.com/users/muphy/gists{/gist_id}","starred_url":"https://api.github.com/users/muphy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muphy/subscriptions","organizations_url":"https://api.github.com/users/muphy/orgs","repos_url":"https://api.github.com/users/muphy/repos","events_url":"https://api.github.com/users/muphy/events{/privacy}","received_events_url":"https://api.github.com/users/muphy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-17T07:49:26Z","updated_at":"2015-12-14T15:45:22Z","closed_at":null,"body":"My phone is Nexus 5. I bought a premium version last night.\r\nI built successfully my ionic app based on SampleApp. I just modified widget id and appended licence value and orderId value from you.\r\nWhen I ran my app in my device nexus5 with typing \"cordova run\" in the command line, the app is shut down .\r\nAnd I have debugged my app with \"adb logcat\" and I received below error messages in the console.\r\n```\r\n11-17 16:01:19.702 19065 19065 I TSLocationManager: - PRUNE -1days\r\n11-17 16:01:19.723 19065 19065 I TSLocationManager: - GooglePlayServices connected\r\n11-17 16:01:19.732 19065 19065 D AndroidRuntime: Shutting down VM\r\n11-17 16:01:19.733 19065 19065 E AndroidRuntime: FATAL EXCEPTION: main\r\n11-17 16:01:19.733 19065 19065 E AndroidRuntime: Process: xyz.zolywood.gpstracker.ionic, PID: 19065\r\n11-17 16:01:19.733 19065 19065 E AndroidRuntime: java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.\r\n11-17 16:01:19.733 19065 19065 E AndroidRuntime: \tat android.os.Parcel.readException(Parcel.java:1599)\r\n11-17 16:01:19.733 19065 19065 E AndroidRuntime: \tat android.os.Parcel.readException(Parcel.java:1552)\r\n```\r\nSo I built your SampleApp but I had received same error messages.\r\n\r\nI wondered if ACCESS_FINE_LOCATION permission was not appended, so I opened config.xml file and androidmanifest.xml file. All permissions were appended. \r\n\r\nHow can I solve this problem?\r\n\r\nthanks.\r\n"},"comment":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-SampleApp/issues/comments/164471671","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-SampleApp/issues/20#issuecomment-164471671","issue_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-SampleApp/issues/20","id":164471671,"user":{"login":"christocracy","id":14999,"avatar_url":"https://avatars.githubusercontent.com/u/14999?v=3","gravatar_id":"","url":"https://api.github.com/users/christocracy","html_url":"https://github.com/christocracy","followers_url":"https://api.github.com/users/christocracy/followers","following_url":"https://api.github.com/users/christocracy/following{/other_user}","gists_url":"https://api.github.com/users/christocracy/gists{/gist_id}","starred_url":"https://api.github.com/users/christocracy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christocracy/subscriptions","organizations_url":"https://api.github.com/users/christocracy/orgs","repos_url":"https://api.github.com/users/christocracy/repos","events_url":"https://api.github.com/users/christocracy/events{/privacy}","received_events_url":"https://api.github.com/users/christocracy/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T15:45:22Z","updated_at":"2015-12-14T15:45:22Z","body":"update?"}}