                     self.callPhoneNumber(phoneNumber)
                 } else if let mapURL = actionData["data"] as? String where actionType == "map" {
                     self.openGoogleMaps(mapURL)
-                } else if actionType == "shareLocation" {
-                    LocationManager.sharedInstance.shareLocation()
-                }
-
+                }
             }
             
         case "pushTelemetry":

                delegate?.getSearchHistory?(offset,limit:limit,callback: callback)
            }
            
			
		case "getFavorites":
			delegate?.getFavorites?(callback)
			

            if let ids = data as? [Int] {
                self.profile.history.removeHistory(ids)
            }
        
        case "isReady":
            delegate?.isReady?()
        
        case "shareLocation":
            LocationManager.sharedInstance.shareLocation()
            
        default:
			print("Unhandles JS action")
