WARNING: The onesignal-gradle-plugin MUST be before com.android.application!
what should i do?
did u solve it ? what is the solution ?
yes i solved this but forgot how i solved this.
i think do uninstall and again install and add android platform
This solved my problem:
ionic cordova platform remove android ionic cordova platform add android
This is easier compared to making changes in gradle file. But if the above didn’t work for you, you might want to try solutions given here.