Cordova-plugin-background-geolocation: how add more parameters to json that sended to server ?

Created on 25 Jan 2017  路  2Comments  路  Source: mauron85/cordova-plugin-background-geolocation

How could you do to add more parameters in json that is sent to the server
For example:
Add deviceid
...

Most helpful comment

hello @MAntonio95
You can pass deviceid into header
httpHeaders: { 'deviceid':123123123123},
its work for me. i hope its also work for you.

All 2 comments

hello @MAntonio95
You can pass deviceid into header
httpHeaders: { 'deviceid':123123123123},
its work for me. i hope its also work for you.

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ThorvaldAagaard picture ThorvaldAagaard  路  9Comments

steveharbick picture steveharbick  路  5Comments

netbitsolutions picture netbitsolutions  路  10Comments

shyamal890 picture shyamal890  路  10Comments

mahmed-ntd picture mahmed-ntd  路  10Comments