Commit Graph

8 Commits

Author SHA1 Message Date
Michael Jordan e3ac5fc92f Fix issue #32 Doesn't work with cordova-plugin-crosswalk-webview
Use reflection for getView, getSettings, getTextSize/getTextZoom, and
setTextSize/setTextZoom so that the View does not need to be cast as an
android.webkit.WebView.
2016-02-11 08:22:36 -05:00
Michael Jordan 415b357e9a Issue 20: android 3.7.2 broken after android 4.0 fix
Use reflection to check for CordovaWebView.getView interface method so
that we can still compile using cordova-android 3.7.2.
2015-09-28 10:52:54 -04:00
Aaron Yong 37a7d11251 Restore compatibility with Cordova Android 4.0+
Fixes #17 and #13.  The WebView object is now accessed via a `getView()` method call on `CordovaWebView` objects.
2015-06-25 15:29:49 -06:00
Raúl Romero García 852cec5240 Fix issue 13 2015-04-30 15:22:33 +02:00
Michael Jordan 54efe1452c Adjust behavior of MobileAccessibility.updateTextZoom and MobileAccessibility.getTextZoom
Adjust behavior of MobileAccessibility.updateTextZoom and
MobileAccessibility.getTextZoom so they both return the correct updated
zoom value to a callback method.

Adjust behavior of isTalkBackRunning and isVoiceOverRunning so that
they return true only for the appropriate platform.
2014-03-25 20:33:16 -04:00
Michael Jordan ab2950874b Organized imports 2014-03-14 10:41:22 -04:00
Michael Jordan 728a327ab0 Add support for adjusting text in the WebView to the preferred zoom scale on Android.
More robust iOS support is forthcoming, but currently works with iOS7
Dynamic Type Fonts by setting the following css on the body and using
relatively sized fonts sizing for child containers, for example:

body {
   font: -apple-system-body;
}

body > .app {
  font-family: 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica,
Arial, sans-serif;
  font-size:0.75em;
  font-weight: 200;
}
2014-03-06 21:44:05 -05:00
Michael Jordan ea97c1faa1 Adding Android platform 2014-02-10 17:28:17 -05:00