otkmnb2783 / fastlane-plugin-android_versioning

MIT License
60 stars 14 forks source link

nativescript apps support #11

Closed yahyaKacem closed 3 years ago

yahyaKacem commented 5 years ago

For apps generated with nativescript the output is empty:

lane :showVersion do
    version = get_version_name(app_project_dir: '**/app')
    UI.message("version")
    UI.message(version)
    version_code = get_version_code(app_project_dir: '**/app')
    UI.message("version_code")
    UI.message(version_code)
end

output: Screen Shot 2019-03-27 at 3 12 34 AM

I think the version informations should be fetched from a different file not build.gradle.

CoreyKaylor commented 5 years ago

Needs to come from the AndroidManifest.xml file.