问题
The answer that is posted everywhere is to use this with the associated plugin:
if (window.MobileAccessibility) {
window.MobileAccessibility.usePreferredTextZoom(false);
}
But that doesn't work. The plugin isn't maintained and it has zero effect on the app display in Android 10. I really need to figure out how to ignore the screen zoom setting of the device and display the app normally. Any help would be greatly appreciated.
P.S. please don't leave a comment just to say that this isn't a good idea. I respect your opinion, but I am asking for a solution to my problem, not your thoughts on the problem.
来源:https://stackoverflow.com/questions/60142821/ignore-accessibility-settings-for-cordova-app