See https://issues.apache.org/jira/browse/CB-8475 and https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Public/CDVPlugin.m#L96
GitHub Pull Request #262