Skip to content

Releases: webyonet/react-native-android-location-services-dialog-box

v2.8.2

02 Aug 20:53
Compare
Choose a tag to compare
bug fix PR #73

v2.8.1

14 Apr 07:43
Compare
Choose a tag to compare
version update

v2.8.0

16 Feb 15:36
Compare
Choose a tag to compare
new version

RN-56 support

31 Aug 18:24
Compare
Choose a tag to compare

Projects are now compiled using Android SDK 26

New feature added

07 Jul 14:44
Compare
Choose a tag to compare

Dialog box colors can now be changed.

LocationServicesDialogBox.checkLocationServicesIsEnabled({
   message: "<font color='#f1eb0a'>Use Location ?</font>",
   ok: "YES",
   cancel: "NO",
   style: {
       backgroundColor: '#87a9ea',
       positiveButtonTextColor: '#ffffff',
       positiveButtonBackgroundColor: '#5fba7d',
       negativeButtonTextColor: '#ffffff',
       negativeButtonBackgroundColor: '#ba5f5f'
   }
})

v2.5.1

05 Jul 19:05
Compare
Choose a tag to compare
#57 naming changed

New feature added and bug fixes

12 May 11:27
Compare
Choose a tag to compare

providerListener

providerListener: false, //true => Trigger "locationProviderStatusChange" listener when the location state changes

locationProviderStatusChange

import { DeviceEventEmitter } from 'react-native';

DeviceEventEmitter.addListener('locationProviderStatusChange', function(status) { // only trigger when "providerListener" is enabled
    console.log(status); //  status => {enabled: false, status: "disabled"} or {enabled: true, status: "enabled"}
});

stopListener

componentWillUnmount() {
    LocationServicesDialogBox.stopListener(); // Stop the "locationProviderStatusChange" listener
}

v2.4.3

09 Dec 07:27
Compare
Choose a tag to compare
fixes #35

New features added

08 Dec 22:40
Compare
Choose a tag to compare

"preventOutSideTouch" and "preventBackClick"

preventOutSideTouch: false, //true => To prevent the location services window from closing when it is clicked outside.

preventBackClick: false //true => To prevent the location services popup from closing when it is clicked back button.

v2.3.2

18 Oct 20:46
Compare
Choose a tag to compare
package.json edited