From 7360fd1dd82541fb668f76ddb0e77fc26301abee Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Fri, 6 Apr 2018 12:07:30 -0400 Subject: [PATCH] feat: add ROADMAP.md for long-term ideas - refs: #244 / #191 --- ROADMAP.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ROADMAP.md diff --git a/ROADMAP.md b/ROADMAP.md new file mode 100644 index 00000000..e62dab7d --- /dev/null +++ b/ROADMAP.md @@ -0,0 +1,9 @@ +## Automatic Remapping of ResourceId +We currently prevent resourceIds from changing, by utilizing the `public.xml` file which makes the resources public, but +then prevents them to be used in some locations (`android:scheme`). The correct fix would be to record the resourceIds +and use dexlib2 (no regular expressions) to rewrite them to the new resourceId after the `resources.arsc` is built. + +This would be a lookup table of old->new resourceIds leveraging the API of dexlib2 to do the replacement. Doing this +properly would nullify the need to do [#191](https://github.com/iBotPeaches/Apktool/issues/191) + +Suggestions: [#244](https://github.com/iBotPeaches/Apktool/issues/244) \ No newline at end of file