Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with the latest phonegap-plugin-push on PhoneGap Build(PGB) #716

Open
ShashankPRS opened this issue Dec 7, 2018 · 0 comments
Open

Comments

@ShashankPRS
Copy link

We were using phonegap-plugin-push v1.10.0 for push notifications(which was not working),then one of the forums we came to know that the latest version of phonegap-plugin-push v2.2.3 will support for Push notification on PhoneGap Build(PGB). (For more info. https://github.com/phonegap/phonegap-plugin-push#phonegap-plugin-push-) So we updated the Cordova-CLI to 8.1.1, cordova-android-platform version to 7.1.2 and cordova-iOS-platform version to 4.5.5. Then, we installed phonegap-plugin-push v2.2.3. Now we are facing below error while generating the Android build

I am stuck....please help....many thanks in advance

Installing "cordova-plugin-facebook4" at "2.0.1" for android

Android Studio project detected

config file res/values/facebookconnect.xml requested for changes not found at /res/values/facebookconnect.xml, ignoring

config file res/values/facebookconnect.xml requested for changes not found at /res/values/facebookconnect.xml, ignoring

Subproject Path: CordovaLib

Subproject Path: app

Android Studio project detected

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:334,col:24]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:368,col:24]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:405,col:24]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:438,col:28]

[xmldom error] element parse error: Error: invalid tagName:

@#[line:443,col:79]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:482,col:24]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:512,col:20]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:549,col:20]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:655,col:28]

[xmldom warning] unclosed xml attribute

@#[line:667,col:74]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:686,col:24]

[xmldom warning] unclosed xml attribute

@#[line:712,col:70]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:740,col:24]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:771,col:24]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:815,col:28]

[xmldom error] element parse error: Error: invalid tagName:Map<String,

@#[line:825,col:101]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:825,col:105]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:869,col:24]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:884,col:20]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:896,col:24]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:929,col:32]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:930,col:32]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:931,col:32]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:932,col:32]

[xmldom warning] unclosed xml attribute

@#[line:949,col:138]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:979,col:32]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:980,col:32]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:981,col:32]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:982,col:32]

[xmldom warning] unclosed xml attribute

@#[line:1004,col:164]

[xmldom error] element parse error: Error: attribute equal must after attrName

@#[line:1081,col:78]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:1117,col:20]

[xmldom error] element parse error: Error: invalid tagName:

@#[line:1135,col:82]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:1237,col:20]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:1238,col:16]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:1238,col:50]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:1250,col:16]

[xmldom error] element parse error: Error: invalid tagName:String,

@#[line:1250,col:52]

[xmldom warning] unclosed xml attribute

@#[line:1256,col:18]

[xmldom warning] unclosed xml attribute

@#[line:1256,col:56]

[xmldom warning] unclosed xml attribute

@#[line:1260,col:22]

[xmldom warning] unclosed xml attribute

@#[line:1260,col:57]

[xmldom error] element parse error: Error: invalid tagName:Object,Object

@#[line:1263,col:28]

[xmldom error] element parse error: Error: invalid tagName:Object,

@#[line:1263,col:64]

/cordova/node_modules/plist/lib/parse.js:53

throw new Error(message);

^

Error: malformed document. First element should be

at invariant (/cordova/node_modules/plist/lib/parse.js:53:11)

at Object.parse (/cordova/node_modules/plist/lib/parse.js:67:3)

at ConfigFile_load [as load] (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:86:27)

at new ConfigFile (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:53:10)

at ConfigKeeper_get [as get] (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigKeeper.js:51:23)

at PlatformMunger_apply_file_munge [as apply_file_munge] (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:78:50)

at munge_helper (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:238:14)

at PlatformMunger.add_config_changes (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:216:12)

at Object.<anonymous> (/cordova/prepare:67:10)

at Module._compile (module.js:556:32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant