Fix Location Callback Schema example#1000
Fix Location Callback Schema example#1000wuppious wants to merge 1 commit intotransistorsoft:masterfrom
Conversation
christocracy
left a comment
There was a problem hiding this comment.
There is the Javascript schema provided to events (such as onLocation), which is provided a JavaScript Date instance, and the HTTP schema, which is provided the ISO 8601 String. This seems correctly documented to me.
|
react-native-background-geolocation/src/declarations/interfaces/Location.d.ts Lines 130 to 133 in 7745a0c The interface |
|
@christocracy I am also getting string instead of js date from onLocation callback |
|
I just came here to open this same PR. If there are two different formats returned by different things maybe this should list both and link them correctly? |
|
I'm using this from
|
|
It will remain String. Create your own The docs will be updated. |
Change timestamp from
DatetoISO-8601 UTCstring.