• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • appcenter-plugin
    • None

      Using the plugin to upload an .aab file + a corresponding symbols.zip does not work.

      The main reason for this is that the currently used library to parse the AndroidManifest.xml fails to correctly do so for .aab files, as the file structure is a little bit different.

      To test this, simply add '.aab' extensions to 'symbolUploadRequest' and try to upload an .aab including symbols. It will fail at the call 'ApkParsers.getMetaInfo' in AndroidParser.java

          [JENKINS-64217] Uploading symbols with a .aab does not work

          mezpahlan what would be the best course of action here? I would be willing to implement this if my time permits it!

          The dependency which parses the AndroidManifest.xml seems no longer maintained (https://github.com/hsiafan/apk-parser), so fixing it there seems out of the question.

          So I see 2 possibilities

          • Find another dependency which does exactly that (from looking shortly into it, I did not find any)
          • Extract the .aab/.apk and parse the AndroidManifest ourselves, as the only things that are needed is the VersionName and the VersionCode

          Alexander Rieder added a comment - mezpahlan what would be the best course of action here? I would be willing to implement this if my time permits it! The dependency which parses the AndroidManifest.xml seems no longer maintained ( https://github.com/hsiafan/apk-parser),  so fixing it there seems out of the question. So I see 2 possibilities Find another dependency which does exactly that (from looking shortly into it, I did not find any) Extract the .aab/.apk and parse the AndroidManifest ourselves, as the only things that are needed is the VersionName and the VersionCode

          Mez Pahlan added a comment -

          Apologies due to personal reasons I am stepping away from the project so can no longer be assigned to this.

          Mez Pahlan added a comment - Apologies due to personal reasons I am stepping away from the project so can no longer be assigned to this.

            Unassigned Unassigned
            riederalex Alexander Rieder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: