cordova-plugin-ionic
Advanced tools
Comparing version 5.2.6-1 to 5.2.6
{ | ||
"name": "cordova-plugin-ionic", | ||
"version": "5.2.6-1", | ||
"version": "5.2.6", | ||
"cordova": { | ||
@@ -5,0 +5,0 @@ "id": "cordova-plugin-ionic", |
@@ -168,3 +168,3 @@ interface Window { | ||
/** | ||
* whether or not the app should in debug mode | ||
* The update method the app should use when checking for available updates | ||
*/ | ||
@@ -171,0 +171,0 @@ updateMethod?: boolean; |
@@ -15,2 +15,3 @@ /// <reference path="../types/IonicCordova.d.ts" /> | ||
declare const WEBVIEW_SERVER_URL: string; | ||
declare const Capacitor: any; | ||
@@ -66,3 +67,3 @@ enum UpdateMethod { | ||
private MANIFEST_FILE = 'pro-manifest.json'; | ||
public PLUGIN_VERSION = '5.2.6-1'; | ||
public PLUGIN_VERSION = '5.2.6'; | ||
@@ -122,3 +123,7 @@ constructor(appInfo: IAppInfo, preferences: ISavedPreferences) { | ||
getBundledAppDir(): string { | ||
return Path.join(cordova.file.applicationDirectory, 'www'); | ||
let folder = 'www'; | ||
if (typeof (Capacitor) !== 'undefined') { | ||
folder = 'public'; | ||
} | ||
return Path.join(cordova.file.applicationDirectory, folder); | ||
} | ||
@@ -125,0 +130,0 @@ |
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
145986
2471
1
6