Disable Data Detectors

Disables iOS data detectors that parse page content to insert special links (ex: phone numbers).
nleclerc0.1.01
platforms: ios
$ cordova plugin add fr.spirotron.cordova.disabledatadetectors

cordova-plugin-disabledatadetectors

Description

This plugin disables the iOS data detectors that can modify page content. The most notable example being numbers being converted to tel: links.

It works by setting webView.dataDetectorTypes to UIDataDetectorTypeNone.

Version History

0.1.0

  • Initial release.

License

This code is released under the MIT license.