forked from github/jpush-phonegap-plugin
Merge remote-tracking branch 'refs/remotes/origin/dev'
This commit is contained in:
commit
870fc12c0d
@ -1,8 +1,8 @@
|
|||||||
# JPush PhoneGap / Cordova Plugin
|
# JPush PhoneGap / Cordova Plugin
|
||||||
|
|
||||||
[](https://travis-ci.org/jpush/jpush-phonegap-plugin)
|
[](https://travis-ci.org/jpush/jpush-phonegap-plugin)
|
||||||
[](https://gitter.im/jpush/jpush-phonegap-plugin)
|
[]()
|
||||||
[](https://github.com/jpush/jpush-phonegap-plugin/releases)
|
[](https://github.com/jpush/jpush-phonegap-plugin/releases)
|
||||||
[](https://github.com/jpush/jpush-phonegap-plugin)
|
[](https://github.com/jpush/jpush-phonegap-plugin)
|
||||||
[](http://weibo.com/jpush?refer_flag=1001030101_&is_all=1)
|
[](http://weibo.com/jpush?refer_flag=1001030101_&is_all=1)
|
||||||
|
|
||||||
|
@ -53,9 +53,7 @@
|
|||||||
|
|
||||||
<!-- android -->
|
<!-- android -->
|
||||||
<platform name="android">
|
<platform name="android">
|
||||||
<hook type="after_plugin_add" src="scripts/android-install.js" />
|
|
||||||
<hook type="after_plugin_install" src="scripts/android-install.js" />
|
<hook type="after_plugin_install" src="scripts/android-install.js" />
|
||||||
<hook type="before_plugin_rm" src="scripts/android-install.js" />
|
|
||||||
<hook type="before_plugin_uninstall" src="scripts/android-install.js" />
|
<hook type="before_plugin_uninstall" src="scripts/android-install.js" />
|
||||||
|
|
||||||
<config-file target="res/xml/config.xml" parent="/*">
|
<config-file target="res/xml/config.xml" parent="/*">
|
||||||
|
@ -9,9 +9,6 @@ module.exports = function (context) {
|
|||||||
config = new ConfigParser(path.join(context.opts.projectRoot, "config.xml")),
|
config = new ConfigParser(path.join(context.opts.projectRoot, "config.xml")),
|
||||||
packageName = config.android_packageName() || config.packageName();
|
packageName = config.android_packageName() || config.packageName();
|
||||||
|
|
||||||
console.info("Running android-install.Hook: " + context.hook
|
|
||||||
+ ", Package: " + packageName + ", Path: " + projectRoot + ".");
|
|
||||||
|
|
||||||
if (!packageName) {
|
if (!packageName) {
|
||||||
console.error("Package name could not be found!");
|
console.error("Package name could not be found!");
|
||||||
return ;
|
return ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user