[Pushwoosh Plugin] Unable to generate Android app using MABS over 6.3
Forge component by Pushwoosh
Application Type
Mobile

Hello,

We have recently updated some components used in our Mobile app in order to generate the application in MABS version 7.1. The iOS generation is done without problems but the Android generation is aborted due to an issue with the Pushwoosh plugin. The latest version of MABS we can generate the Android app with is 6.3.

Below the error shown by the log during the generation of the app and the response from OS.

Error log:

[2021-05-04T09:25:21.051Z] [VERBOSE] [Build] The "path" argument must be of type string. Received undefined
[2021-05-04T09:25:21.051Z] [VERBOSE] [Build] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
[2021-05-04T09:25:21.051Z] [VERBOSE] [Build] at validateString (internal/validators.js:120:11)
[2021-05-04T09:25:21.051Z] [VERBOSE] [Build] at Object.join (path.js:1039:7)
[2021-05-04T09:25:21.051Z] [VERBOSE] [Build] at ConfigKeeper.get (/usr/lib/node_modules/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigKeeper.js:44:32)
[2021-05-04T09:25:21.051Z] [VERBOSE] [Build] at /usr/lib/node_modules/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:314:57
[2021-05-04T09:25:21.051Z] [VERBOSE] [Build] at Array.forEach (<anonymous>)
[2021-05-04T09:25:21.051Z] [VERBOSE] [Build] at PlatformMunger._is_conflicting (/usr/lib/node_modules/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:307:21)
[2021-05-04T09:25:21.052Z] [VERBOSE] [Build] at PlatformMunger.add_config_changes (/usr/lib/node_modules/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:176:44)
[2021-05-04T09:25:21.052Z] [VERBOSE] [Build] at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare/platforms.js:66:24
[2021-05-04T09:25:21.052Z] [VERBOSE] [Build] at async Promise.all (index 0)

OutSystems support response:

From past experiences with the error, this is caused by the Pushwoosh plugin. Basically, the issue lies in an invalid config-file tag that was inserted by them in the config.xml file from the plugin. This was already fixed by Pushwoosh as you can see in this Github commit [1] and release [2], which mentions the issue started manifesting in Cordova 8.

Having this in mind, we believe the best course of action would be the following: since the issue started to happen in Cordova 8 and version 6.3 of the MABS uses Cordova 7. Our first recommendation would be that you keep generating the mobile application with this version of MABS.

We use:

- Pushwoosh version 4.5.3.

- OutSystems platform version 11.12.1

Can you please let us know how to go around the problem to be able to generate the app in the latest MABS version for Android?

Thank you.

Hello,

We have the same problem. Also already posted in this forum 14 days ago but no answer from the development team.
Also posted the issue here:

https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/issues/353

I hope someone in the development team can fix this soon. It is a blocking issue for the transition to MABS 7.1....

Ben

Hello Ben, 


The support of Pushwoosh Plugin is provided by Pushwoosh. We already reach them regarding this issue to get it fixed as soon as possible. 


Thanks, 

Vitor

Hi Vitor,

Thank you for the reply and good to read that a fix is requested at Pushwoosh.
Let's hope they respond soon.

Thanks,
Ben

Hi,
Any update on this case?
Thnx

Ben

@Ben van der Linden @Vitor Oliveira apologies for such a delayed response. We will update the Outsystems branch shortly. 

@Ben van der Linden @Vitor Oliveira should be fixed now.

Great! thanks for the update!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.