background-geolocation-android icon indicating copy to clipboard operation
background-geolocation-android copied to clipboard

postJSON appearing 2 times

Open s10mcow opened this issue 7 years ago • 2 comments

https://github.com/mauron85/background-geolocation-android/blob/ec334ba6a8612c399d608bbfc4aacfad68fc2105/src/main/java/com/marianhello/bgloc/HttpPostService.java#L154

s10mcow avatar Feb 08 '19 12:02 s10mcow

I don't see any issue here. First one is for array format second json literal.

mauron85 avatar Feb 08 '19 12:02 mauron85

Ah sorry! i was just going thru the code to see whats up with the POST as I am posting with an auth and token query param which the server somehow says is malformed, however when i manually fetch post the thing in the app using the same url string the POST is fine.

Any ideas?

https://AWS_URL_ROOT/Prod/TrackShipment?auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaGlwbWVudElkIjoxMjN9.tJNnN9iy2MdK_wll3pEwccskWrLTgTqIJ9z

Thats an example of the url we are using...

s10mcow avatar Feb 08 '19 13:02 s10mcow