Open R-obert opened 4 years ago
dude ı'm also getting that error. did you fixed it ?
Hi, yes there is a fix for this. It is just a couple of lines of code.
See https://github.com/fechanique/cordova-plugin-fcm/issues/501
I have forked and updated the problematic file. Feel free to use this one: https://github.com/mike-nelson/cordova-plugin-fcm.git
cordova plugin add https://github.com/mike-nelson/cordova-plugin-fcm.git
However, this didn't get me far, and I got the next error:
This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled
Which can be fixed using this:
cordova plugin add cordova-plugin-androidx-adapter
Documentation says in order to add the plugin I should do the following:
This breaks
cordova build android
, the only output it shows is that "chunk" argument message.