Mantain the font size fixed

Hey there. I noticed a problem with font sizing when the system font-size is augmented or lowered, but only in Android. If I change the environment font size, my app font size is increased or decreased, meanwhile this doesn’t happens on iOS.
I tried to install mobile accesibility plugin, but i got this error from Cordova:

Error: 404 Not Found: com.phonegap.plugin.mobile-accessibility at RegClient.<anonymous>

How can I maintain the same size besides the system font size?

+1

I am also facing the same issue. tried the mobile accessibility plugin and it worked on my Samsung S3 (android 4.3). Still haven’t gotten it to work on an android 5.0 device though.

Also, As far as installing the mobile accesibility plugin is concerned, try removing the org.apache.cordova.device plugin first. I was able to solve my installation problems by doing this.

Well, I got it working on the 5.0 device too, was due to a problem with another plugin and the accesibility code was not getting executed.

Anyway, the below code fixed it.

if(window.MobileAccessibility){
    window.MobileAccessibility.usePreferredTextZoom(false);
}

mine is not working. could you please help me. i have provided the code below*.*

app.js
angular.module(‘checkConnection’, [‘ionic’])

.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if(window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
}
if(window.StatusBar) {
StatusBar.styleDefault();
}
if(window.Connection){
if(navigator.connection.type==Connection.NONE){
alert(“No Internet Connection is found in your device.”);
ionic.Platform.exitApp();
}
if(navigator.connection.type==Connection.UNKNOWN){
alert(“The Internet Connection is Unknown in your device.”);
}
if(navigator.connection.type==Connection.WIFI){
alert(“Your device is connected to WiFi.”);
}
if(navigator.connection.type==Connection.ETHERNET){
alert(“Your device is connected to Ethernet.”);
}
if(navigator.connection.type==Connection.CELL_2G){
alert(“Your device is connected to 2G.”);
}
if(navigator.connection.type==Connection.CELL_3G){
alert(“Your device is connected to 3G.”);
}
if(navigator.connection.type==Connection.CELL_4G){
alert(“Your device is connected to 4G.”);
}
}
});
})

controller(‘IndexController’, function ($ionicPlatform, $window) {
$ionicPlatform.ready(function(){
if($window.MobileAccessibility){
$window.MobileAccessibility.usePreferredTextZoom(false);
}
});
});

I am developing this project for Android in Windows 7.
Npm: 2.11.3
Cordova: 5.1.1
Ionic: 1.6.4

Hello! I hope I can help you. Once installed the mobile-accessibility plugin linked above, I just add this method MobileAccessibility.setTextZoom(100); in the ready() function.
If yours is not working, please add some debug output to help me understand.

how do i get the debug output?
and what are the other details you want? i could attach the code.

thank you for extending your help.