   var jsRejectCallback:RCTPromiseRejectBlock?
   
   override init() {
+    locationManager = CLLocationManager()
+
     super.init()
+    
+    locationManager.delegate = self
   }
   
   override func constantsToExport() -> [String: Any] {

}

@objc(CMSBeaconManager)
class CMSBeaconManager: RCTEventEmitter, CBPeripheralManagerDelegate, ESTBeaconManagerDelegate {
  
  let beaconManager = ESTBeaconManager()
  var beaconRegion:CLBeaconRegion?
  var hasAlwaysAuthorization = false
  
  var bluetoothPeripheralManager: CBPeripheralManager?

    bluetoothPeripheralManager = CBPeripheralManager(delegate: self, queue: nil, options: options)
    
    beaconManager.delegate = self
  }
  
  @objc func requestLocationServicesAuthorization() {
