-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: parse aab format #63
Comments
@sunnylqm Please provide a aab file for testing. |
@sunnylqm I tried to parse the AAB file base on the current version. It seems not just one more folder. The AAB file's AndroidManifest.xml has a different chunk type compare to APK file, that make a parse error in |
@chenquincy Appreciate your effort! I'd like to buy you some coffee 👍 |
@sunnylqm I just checked some document of AAB file and found that things are more complicated than we thought. Refer to this document. The manifest.xml in AAB file is compiled with a protocol buffer format different from apk's manifest.xml(binary format). It means that we need the detail of protocol buffer format to parse AAB file's manifest.xml. Unfortunately, I didn't find it. |
If you can find or provide the protocol, I think I can resolve the issue with the protocol. |
i think it means this one https://developers.google.com/protocol-buffers right? |
@sunnylqm Yes, that's it. But we also need the proto file or json of the xml to decode it. Here is a js tool to decode protocol buffer format content: protobufjs. |
@sunnylqm Thanks for your help. I parsed it success just now, is this result you want: {
"element": {...},
"source": {...}
} |
@sunnylqm I had simplified the result, because the original result is too long. |
I don't know but I think it is 😅 |
Very cool! Looking forward for a new version! |
@sunnylqm OK, I have removed the parse result. I still should take a while to write the final version. Be patient, not sure for the finish time. Thanks for your help and support again! |
希望尽快啊,辛苦 |
Hi there! Any update on this issue/feature?) |
@chenquincy helllo! any updates? |
Hi, is there any update or new version with this feature? Thank you very much :) |
https://developer.android.com/guide/app-bundle/app-bundle-format
It seems that there is just one more
base
folder compared to apk:The text was updated successfully, but these errors were encountered: