{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/69","repository_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation","labels_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/69/comments","events_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/69/events","html_url":"https://github.com/transistorsoft/react-native-background-geolocation/issues/69","id":144512808,"number":69,"title":"Align Android / iOS JSON post","user":{"login":"jeroenbourgois","id":202312,"avatar_url":"https://avatars.githubusercontent.com/u/202312?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenbourgois","html_url":"https://github.com/jeroenbourgois","followers_url":"https://api.github.com/users/jeroenbourgois/followers","following_url":"https://api.github.com/users/jeroenbourgois/following{/other_user}","gists_url":"https://api.github.com/users/jeroenbourgois/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenbourgois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenbourgois/subscriptions","organizations_url":"https://api.github.com/users/jeroenbourgois/orgs","repos_url":"https://api.github.com/users/jeroenbourgois/repos","events_url":"https://api.github.com/users/jeroenbourgois/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenbourgois/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-30T09:11:11Z","updated_at":"2016-04-01T13:32:22Z","closed_at":null,"body":"Hi\r\n\r\nI noticed that the Android and iOS HTTP posts are different. A particular difference is the `is_charging` property of the battery. \r\n\r\niOS treats it as an integer and Android as a boolean. Could you align both libraries? I have golang app that is handling the responses and it is difficult to have different data types for each platform, for the same property."},"comment":{"url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/comments/204397194","html_url":"https://github.com/transistorsoft/react-native-background-geolocation/issues/69#issuecomment-204397194","issue_url":"https://api.github.com/repos/transistorsoft/react-native-background-geolocation/issues/69","id":204397194,"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":"2016-04-01T13:32:22Z","updated_at":"2016-04-01T13:32:22Z","body":"Fixed in #master"}}