cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Coleman <don.cole...@gmail.com>
Subject WP8 Replacement for BaseCommand.InvokeCustomScript?
Date Tue, 16 Apr 2013 04:23:17 GMT
BaseCommand.InvokeCustomScript is marked as obsolete in cordova-wp8.

My plugin has native code fire a JavaScript event.  On Android I do this
with plugin.webView.sendJavascript(command). On WP8, I can't access the
webView, so I use a custom script to fire the event.

Is there a replacement for BaseCommand.InvokeCustomScript?

If not, when is it going away?

https://github.com/apache/cordova-wp8/blob/master/templates/standalone/cordovalib/Commands/BaseCommand.cs#L75

https://github.com/don/phonegap-nfc/blob/master/src/windows-phone-8/NfcPlugin.cs#L109
https://github.com/don/phonegap-nfc/blob/master/src/android/src/com/chariotsolutions/nfc/plugin/NfcPlugin.java#L375

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message