BatedUrGonnaDie / glitchify

Tweaks for the official twitch.tv android app
https://forum.xda-developers.com/xposed/modules/mod-glitchify-tweaks-additions-official-t3483569
MIT License
34 stars 5 forks source link

Not working with Twitch app version 4.12.0 #1

Closed wasdennnoch closed 7 years ago

wasdennnoch commented 7 years ago

API 23, RR.

The only relevant thing in the Xposed log:

10-22 23:46:51.702 I/Xposed  ( 9382): https://api.betterttv.net/2/channels/wasdennnoch
10-22 23:47:34.097 I/Xposed  ( 9382): https://api.frankerfacez.com/v1/room/monstercat
10-22 23:47:48.532 I/Xposed  ( 9382): https://api.frankerfacez.com/v1/room/monstercat
10-22 23:47:54.322 E/Xposed  ( 9382): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
10-22 23:47:54.322 E/Xposed  ( 9382):   at de.robv.android.xposed.XposedHelpers.getObjectField(XposedHelpers.java:850)
10-22 23:47:54.322 E/Xposed  ( 9382):   at com.leagueofnewbs.glitchify.Main$2.afterHookedMethod(Main.java:73)
10-22 23:47:54.322 E/Xposed  ( 9382):   at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:754)
10-22 23:47:54.322 E/Xposed  ( 9382):   at tv.twitch.android.social.widgets.ChatWidget.a(<Xposed>)
10-22 23:47:54.322 E/Xposed  ( 9382):   at tv.twitch.android.player.widgets.bv.run(PlayerCoordinatorWidget.java:1488)
10-22 23:47:54.322 E/Xposed  ( 9382):   at android.os.Handler.handleCallback(Handler.java:739)
10-22 23:47:54.322 E/Xposed  ( 9382):   at android.os.Handler.dispatchMessage(Handler.java:95)
10-22 23:47:54.322 E/Xposed  ( 9382):   at android.os.Looper.loop(Looper.java:148)
10-22 23:47:54.322 E/Xposed  ( 9382):   at android.app.ActivityThread.main(ActivityThread.java:5471)
10-22 23:47:54.322 E/Xposed  ( 9382):   at java.lang.reflect.Method.invoke(Native Method)
10-22 23:47:54.322 E/Xposed  ( 9382):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-22 23:47:54.322 E/Xposed  ( 9382):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-22 23:47:54.322 E/Xposed  ( 9382):   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
10-22 23:47:56.352 I/Xposed  ( 9382): https://api.frankerfacez.com/v1/room/the8bitdrummer

Let me know if you need anything else.

BatedUrGonnaDie commented 7 years ago

Out of curiosity does this happen when going to your own channel and then scrolling over to the chat window past the upload window? I had this happen myself but when chat loaded it still worked for myself.

Edit: Looks like this also happens when going to past broadcast/feed thing. I'll take a look into that now. Thanks for the report.

wasdennnoch commented 7 years ago

The thist thing I did was going into my own chat, then some other ones.

BatedUrGonnaDie commented 7 years ago

Were the messages just not going through, or were the images not showing up? Currently there is no UI for selecting emotes and you must know the codes with the correct casing.

wasdennnoch commented 7 years ago

The text was there but no images. I tried FeelsBadMan and SourPls.

BatedUrGonnaDie commented 7 years ago

I was able to find the problem. Seems I forgot to inject the global bttv emotes after I separated the global and room emotes into their own hashes. This will be fixed with the next release.

BatedUrGonnaDie commented 7 years ago

I just uploaded v0,8 to the Xposed repository. Sorry for the long wait on that, was trying in vain to get the badges working. They need some more time so I wanted to at least get this fix out.

wasdennnoch commented 7 years ago

Thanks, emotes work now. Gifs only show the first frame though, but I guess that's nothing you can really fix.

BatedUrGonnaDie commented 7 years ago

Correct. I believe they will eventually add gif support for the bit emotes but that might take a while.