Cordova Android 8.0 change app name

Was on Cordova Android 6.4 trying to upgrade to Android 8.0.
I had a build-extras.gradle to change the app name from app-debug.apk to the pass name plus a version.
This does not work anymore.
I tried moving he build-extra.gradle to the app-name/app folder but still not using it.
How to change the build app name with cordova android 8.0?

Try checking code of this plugin,