-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update 16.9.1 #671
Update 16.9.1 #671
Conversation
@FoseFx Anything I should change about this ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am now done with a brief static review.
- Changes look largely good, thank you!
- Please revert the changes to the scripts and CI
- I do not see any modifications to the
mod/twitch
package, which is unlikely. Please run the ubi script, after installing ubi, and runningbuildsource
once. You will likely see inconsistencies between the mocks in mod/twitch, and the actual methods in the apk. - I have not built and tested your changes yet, please apply these changes first
patches/emotes/tv.twitch.android.shared.chat.messagefactory.ChatMessageFactory.smali.patch
Show resolved
Hide resolved
How do I run the ubi script ? I found your ubi repo and build an ubi release, but if I run the script I just get
If I remove --no-diff I then get
Is there something else I need to do ? |
Did you build the |
Yep, that was it. I was on the v2 branch for some reason. Switched to master and now it ran. Do I need to manually fix the diffs or does the script do that automatically ? |
No, the script is purely informational. Open up the mod project in Android Studio and rename / remove / create (new) classes / interfaces / methods of the twitch library. It hosts the shims, which are used in the app library (which is copied into the APK in buildsource). The goal here is not to perfectly replicate all internal twitch classes, but to have the minimal amount needed for the app to work. Often classes / interfaces move places, sometimes they get split apart and sometimes they just get removed without replacement. My advice is to use Android Studio's refactor tools (for example, it can move a class to a different package, and update all references). |
What does this warning mean ?
I tried just removing the file in the mod/twitch folder but even after a buildsource and running the ubi script again it still prints the warning |
That the AutoModMessageFlags class does not exist (in that package) anymore. Try to find it in the
should work |
Okay, all done. |
@FoseFx anything stopping this from merging now ? |
I just tried it out, Nice work! @all-contributors please add @Zerwin for code |
I've put up a pull request to add @Zerwin! 🎉 |
Your change was just Released! |
@FoseFx Do you think I could get permissions for handling Github issues ? Then I would comb through some of the existing ones to see if they still make sense with the new version. |
Changes
Updates the app to 16.9.1
Checklist
I use the "bttv_" prefix for all resources I proposeWhen adding a string I also added it to thebttv.Res.strings
Enum andres/values/strings.xml
(inmod
) andres/values/public.xml
(indisass
)master