- Gender
- Male
- Device
- Huawei P20 lite
- Country
- Italy
Ok thanks for your answer, i place the toast message in "UnityPlayerActivity" and "UnityPlayerNativeActivity" but i get the same result on using html tags.Responding because you also went to try out ModIDE (my project), which has a tool to auto inject a toast with html tags accepted. My best guess is you didnt put the toast in the correct smali (some apks have multiple onCreate methods, if the main activity is a subclass). Look for a line near the top saying ".super", if it has that check the directory and file it mentions, see if that has an onCreate method as well. Toasts work sometimes when placed in the subclass while html tagged toasts usually only work if placed in the topmost onCreate method.
Alternatively, when testing out my project, you can use the add/edit toast feature to store a toast that when you build an apk project in it, will inject the toast in the correct file, and permits html.
I will try your tool =)
Thanks again.