cordova-plugin-playlist
Advanced tools
Comparing version 0.9.2 to 0.10.0
{ | ||
"name": "cordova-plugin-playlist", | ||
"description": "A Cordova plugin for Android and iOS with native support for audio playlists, background support, and lock screen controls", | ||
"version": "0.9.2", | ||
"version": "0.10.0", | ||
"homepage": "https://github.com/Rolamix/cordova-plugin-playlist#readme", | ||
@@ -63,2 +63,3 @@ "author": "Patrick <patrick@rolamix.com>", | ||
"fs-extra": "^5.0.0", | ||
"q": "^1.5.1", | ||
"semver": "^5.5.0", | ||
@@ -65,0 +66,0 @@ "xml2js": "^0.4.19" |
@@ -72,2 +72,9 @@ # cordova-plugin-playlist | ||
### Android notification icon | ||
To show a better notification icon in Android Lollipop (API 21) and above, create a transparent (silhouette) icon and name the file as "ic_notification.png". Then in your config.xml, inside `<platform name="android">`: | ||
``` | ||
<resource-file src="src/assets/img/ic_notification.png" target="/app/src/main/res/drawable/ic_notification.png" /> | ||
``` | ||
## 3. Usage | ||
@@ -74,0 +81,0 @@ |
const path = require('path'); | ||
const fs = require('fs-extra'); | ||
const q = require('q'); | ||
const { | ||
@@ -20,3 +21,3 @@ getAndroidJavaSrcPath, getPackageName, getProjectName, updateAndroidManifestApplication, doCodeGen, | ||
module.exports = function androidAfterPluginInstall(context) { | ||
const deferral = context.requireCordovaModule('q').defer(); | ||
const deferral = q.defer(); | ||
@@ -23,0 +24,0 @@ try { |
const path = require('path'); | ||
const fs = require('fs-extra'); | ||
const q = require('q'); | ||
const { | ||
@@ -13,3 +14,3 @@ getAndroidJavaSrcPath, getPackageName, getProjectName, updateAndroidManifestApplication, | ||
module.exports = function androidAfterPluginRemove(context) { | ||
const deferral = context.requireCordovaModule('q').defer(); | ||
const deferral = q.defer(); | ||
@@ -16,0 +17,0 @@ try { |
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
576952
2553
126
4
4