BASE64 results not consequent on all Android versions.
Trying to use BASE64 calculations (decode) I found out that a Samsung S5 with Android 6.0.1 (companion and APK) gives errors while a Samsung A6 tablet with Android 8.0.1 does the work.
To be sure after the first errors that the problem was not because of malfunctioning of the S5, I did a complete factory reset of the Samsung S5. Still the same errors occur.
I tested different extensions to decode BASE64 but they give this error. The Kodular internal BASE64 calculations (code and decode) of the security package is working on all tested platforms, but some extensions use their own BASE64 calculations which I cannot change.