• Zachary Giles's avatar
    Adding the ability to give flexible headers and content type · 19869fe9
    Zachary Giles authored
    Example in the JS code is:
            bgGeo.configure(callbackFn, failureFn, {
                            url: ‘somewhere + UUID, // <-- only required
    for Android; ios allows javascript callbacks for your http
                            params: {
            // HTTP POST params sent to your server when persisting
    locations.
                            },
                            headers: {
                                    "Content-type":
    "application/x-www-form-urlencoded",
                                    "auth_uuid": UUID,
                                    "auth_token": TOKEN,
                            },
                            desiredAccuracy: 10,
                            stationaryRadius: 20,
                            distanceFilter: 30,
                            debug: true // <-- enable this hear sounds for
    background-geolocation life-cycle.
                            });
    19869fe9
Name
Last commit
Last update
example/www Loading commit data...
src Loading commit data...
www Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
distance-filter-city.png Loading commit data...
distance-filter-highway.png Loading commit data...
enable-background-audio.png Loading commit data...
plugin.xml Loading commit data...