capacitor-radar
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -54,3 +54,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return new Promise(resolve => { | ||
return new Promise((resolve, reject) => { | ||
Radar.trackOnce((status, location, user, events) => { | ||
@@ -65,2 +65,5 @@ if (status === Radar.STATUS.SUCCESS) { | ||
} | ||
else { | ||
reject(status); | ||
} | ||
}); | ||
@@ -67,0 +70,0 @@ }); |
{ | ||
"name": "capacitor-radar", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Capacitor plugin for Radar, the location context platform", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/index.js", |
@@ -36,3 +36,3 @@ ![Radar](https://github.com/radarlabs/capacitor-radar/raw/master/logo.png) | ||
On iOS, you must add location usage descriptions and background modes to your `Info.plist`, then add the SDK to your project using CocoaPods. Initialize the SDK in `application:didFinishLaunchingWithOptions:` in your `AppDelegate`, passing in your Radar publishable API key: | ||
On iOS, complete the steps in [Configure project](https://radar.io/documentation/sdk#ios-configure), then add the SDK to your project using CocoaPods. Initialize the SDK in `application:didFinishLaunchingWithOptions:` in your `AppDelegate`, passing in your Radar publishable API key: | ||
@@ -55,3 +55,3 @@ ```swift | ||
On Android, you must add the Google Play Services library to your project, then add the SDK to your project using Gradle. Initialize the SDK and the plugin in your `MainActivity`, passing in your Radar publishable API key: | ||
On Android, complete the steps in [Configure project](https://radar.io/documentation/sdk#android-configure), then add the SDK to your project using Gradle. Initialize the SDK and the plugin in your `MainActivity`, passing in your Radar publishable API key: | ||
@@ -58,0 +58,0 @@ ```java |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
203
7496044