iOS SDK 15.6.7,
Android SDK 15.5.3,
Hello Screen Dynamic States,
Bluedot Cordova plugin 4.0.1,
Bluedot Xamarin Android wrapper 15.5.2,
Bluedot Xamarin iOS wrapper 15.6.6,
Bluedot React Native wrapper 2.3.0,
/* * Provide a callback to be notified when user intervention is no longer required for Location Services on the device. */ exports.stopRequiringUserInterventionForLocationServicesCallback = function( callback ) { exec( callback, null, "BDPointSDK", "stopRequiringUserInterventionForLocationServicesCallback", [] ); }
This callback allows your app to be notified if user intervention is no longer required to enable Location Services.
This is a function that will be called when Location Services has been activated.
The callback function is passed an integer parameter which indicates the current location service authorization status.
This integer can be accessed by using an enum
as demonstrated in the bdFunctions.js
Javascript wrapper that is bundled with the Bluedot plug-in.
const authorizationStatusEnum = { NotDetermined: 0, Restricted: 1, Denied: 2, AuthorizedAlways: 3, AuthorizedWhenInUse: 4, Authorized: 5, properties: { 0: "Not determined", 1: "Restricted", 2: "Denied", 3: "Authorized always", 4: "Authorized when in use", 5: "Authorized", } } /* * This delegate function receives an integer for current location service authorization status. * Refer to bluedotPointSDKCDVPlugin.js for more information. */ function stopRequiringUserInterventionForLocationServices( authorizationStatus ) { updateStatus( "This App no longer requires Location Services which are currently set to " + authorizationStatusEnum.properties[authrizationStatus] ); }
This function is only called on iOS devices.