jamesmontemagno / vsts-mobile-tasks

VSTS Tasks for Mobile!
MIT License
79 stars 22 forks source link

AndroidManifest changes getting reverted by gradle #17

Open dilipdodiya opened 6 years ago

dilipdodiya commented 6 years ago

First of all I would like to thank you for wonderful VSTS Task. I am using VSTS task - ‘Mobile App Tasks for iOS and Android’ developed by you. This task is really very helpful.

It's working very well for iOS build but there is problem with Android build. It seems changes to ‘AndroidManifest’ file getting reverted by gradle build process ☹. So in case of Android build, this task should update ‘build.gradle’ file instead of ‘AndroidManifest’.

jamesmontemagno commented 6 years ago

Yes, I don't support Gradle at this time. You can make it so Gradle doesn't override tour manifest. I will look to implement this in the future.

nkovacic commented 5 years ago

Having the same issue as our project has only in build.gradle versionCode and versionName. Are there any plans in the foreseeable future to implement this feature?

cbnewham commented 5 years ago

Yep. Unfortunately this is useless because it doesn't support the standard way to build Android projects via Gradle. It seems this has become abandonware... :-(

jamesmontemagno commented 5 years ago

Submit a PR, i'm not a gradle expert

BMuuN commented 5 years ago

I'm no Android or gradle expert but I just moved the versionCode and versionName properties from the gradle file into the AndroidManifest.xml and this extension works perfectly. Coupled with the Google Play extension this task work perfectly for pushing new APK's into the Play Store.

Thanks for your efforts, check your buymeacoffee.com account, have a coffee on me 👍

tyagirajnish commented 4 years ago

facing the same issue, i have already moved my versionCode and versionName to androidManifest.xml but no luck :(