Ignore accessibility settings for Cordova app

て烟熏妆下的殇ゞ 提交于 2020-03-21 05:33:24

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!