I’m having an strange error and I hope you can help me with it.
If a user set the device with a big font, some screens of the app doesn’t appear good, so I made some blocks to fit the font size of the labels and buttons, to mantain the original aspect, like I saw in this post:
The main block is this one, with all the labels and buttons of the app that caused problems with the font size.
The first one is for some buttons that are generated dinamically.
I tested the app in two devices and everything was ok (one has Android 7.1.1 and the other is Android 6.0), so I uploaded it to the Play Store. The test was made with the apk file.
But when I have upgraded the app from the Play Store in another device (this one is Android 11) it shows this message just at the beggining (the procedure “TextSize” is in the initialize screen block):
When tested with Companion this error doesn’t appear. When installed the apk in the device with Android 11, the error appears too. I uninstalled and installed again in the Android 11 device and the error keeps appearing.
When installed from the Play Store in the device with Android 7.1.1 the error doesn’t appear!
I don’t have more devices to try.
What can be wrong?
The app is this:
Thanks in advance!
EDIT: Tested in a tablet with Android 10, installing from Play Store and everythig ia fine, no error.