I have just now managed to get Screen2Auto working nicely - latest AA, and latest S2A (3.6.4).Running LineageOS 11 on Pixel 3, rooted with Magisk. I don't know if it will work on 12 or not.
I won't post here the full details of the method I used, only because of the very high chance it will be worked around, and the next we know it will stop working again. I'm really sorry about that - if I felt it was safe for me to describe how to do it, I would more than happily share - I'm not trying to be mean.
What I can say is I used a Linux program to modify the S2A APK, and I am using the latest AIO Tweaker (5.2.1). It was quite easy and only took a few seconds. No complicated editing of SQL files by hand or any such thing.