@ionic-native/geolocation
Advanced tools
Comparing version 3.6.1 to 3.7.0
65
index.js
@@ -1,6 +0,11 @@ | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -56,6 +61,6 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
*/ | ||
export var Geolocation = (function (_super) { | ||
var Geolocation = (function (_super) { | ||
__extends(Geolocation, _super); | ||
function Geolocation() { | ||
_super.apply(this, arguments); | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
@@ -93,27 +98,27 @@ /** | ||
}; | ||
Geolocation.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
Geolocation.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova({ | ||
callbackOrder: 'reverse' | ||
}), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [Object]), | ||
__metadata('design:returntype', Promise) | ||
], Geolocation.prototype, "getCurrentPosition", null); | ||
Geolocation = __decorate([ | ||
Plugin({ | ||
pluginName: 'Geolocation', | ||
plugin: 'cordova-plugin-geolocation', | ||
pluginRef: 'navigator.geolocation', | ||
repo: 'https://github.com/apache/cordova-plugin-geolocation', | ||
platforms: ['Android', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'] | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], Geolocation); | ||
return Geolocation; | ||
}(IonicNativePlugin)); | ||
Geolocation.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
Geolocation.ctorParameters = function () { return []; }; | ||
__decorate([ | ||
Cordova({ | ||
callbackOrder: 'reverse' | ||
}), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [Object]), | ||
__metadata("design:returntype", Promise) | ||
], Geolocation.prototype, "getCurrentPosition", null); | ||
Geolocation = __decorate([ | ||
Plugin({ | ||
pluginName: 'Geolocation', | ||
plugin: 'cordova-plugin-geolocation', | ||
pluginRef: 'navigator.geolocation', | ||
repo: 'https://github.com/apache/cordova-plugin-geolocation', | ||
platforms: ['Android', 'Firefox OS', 'iOS', 'Ubuntu', 'Windows', 'Windows Phone'] | ||
}) | ||
], Geolocation); | ||
export { Geolocation }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"Geolocation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Geolocation","plugin":"cordova-plugin-geolocation","pluginRef":"navigator.geolocation","repo":"https://github.com/apache/cordova-plugin-geolocation","platforms":["Android","Firefox OS","iOS","Ubuntu","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPosition":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"watchPosition":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Geolocation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Geolocation","plugin":"cordova-plugin-geolocation","pluginRef":"navigator.geolocation","repo":"https://github.com/apache/cordova-plugin-geolocation","platforms":["Android","Firefox OS","iOS","Ubuntu","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPosition":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"watchPosition":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"Coordinates":{"__symbolic":"interface"},"Geoposition":{"__symbolic":"interface"},"PositionError":{"__symbolic":"interface"},"GeolocationOptions":{"__symbolic":"interface"},"Geolocation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Geolocation","plugin":"cordova-plugin-geolocation","pluginRef":"navigator.geolocation","repo":"https://github.com/apache/cordova-plugin-geolocation","platforms":["Android","Firefox OS","iOS","Ubuntu","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPosition":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"watchPosition":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Coordinates":{"__symbolic":"interface"},"Geoposition":{"__symbolic":"interface"},"PositionError":{"__symbolic":"interface"},"GeolocationOptions":{"__symbolic":"interface"},"Geolocation":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"Geolocation","plugin":"cordova-plugin-geolocation","pluginRef":"navigator.geolocation","repo":"https://github.com/apache/cordova-plugin-geolocation","platforms":["Android","Firefox OS","iOS","Ubuntu","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"getCurrentPosition":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"callbackOrder":"reverse"}]}]}],"watchPosition":[{"__symbolic":"method"}]}}}}] |
{ | ||
"name": "@ionic-native/geolocation", | ||
"version": "3.6.1", | ||
"version": "3.7.0", | ||
"description": "Ionic Native - Native plugins for ionic apps", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23878
277