WindowsPhone – Phonegap PushNotification – no puede obtener URI después de registrar mi dispositivo

Estoy usando PushPlugin en mi aplicación cordova / phonegap para wp8.

Instalé automáticamente el plugin con

cordova plugin add https://github.com/phonegap-build/PushPlugin.git 

Lo registré cuando mi dispositivo esté listo.

 function registerMPNS() { console.log("registerMPNS"); var pushNotification; pushNotification = window.plugins.pushNotification; pushNotification.register( channelHandler, errorHandler, { "channelName": "myChannelTm123", "ecb": "onNotificationWP8", "uccb": "channelHandler", "errcb": "jsonErrorHandler" }); } 

Esperando en channelHandler para obtener mi URI que luego pasará a mi servidor

 function channelHandler(event) { console.log("channelHandler ..."); var uri = event.uri; console.log("uri: " + uri); } 

// manejar las notificaciones MPNS para la función WP8 enNotificaciónWP8 (e) {…}

 function jsonErrorHandler(e) { ... } 

Esta es mi consola de salida:

 'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Core.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Adding feature.value=Device Adding feature.value=PushPlugin 'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built without symbols. A first chance exception of type 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in mscorlib.ni.dll Updating IsolatedStorage for APP:DeviceID :: a8789b65-b6a7-4ce4-939b-9df90a3edef1 CordovaBrowser_LoadCompleted Apache Cordova native platform version 3.6.3 is starting 'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.ServiceModel.Web.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Runtime.Serialization.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. An exception of type 'System.NotSupportedException' occurred in Microsoft.Phone.ni.dll and wasn't handled before a managed/native boundary The thread 0x8d4 has exited with code 259 (0x103). onDeviceReady Win32NT Received Event: deviceready platform: Win32NT registerMPNS The thread 0xfc4 has exited with code 259 (0x103). 

El problema es que nunca estoy ingresando a ChannelHandler . ¿Me estoy perdiendo algo o malinterpreté su uso? No estoy pidiendo el código C #. Estoy usando un plugin de cordova y pedí ayuda para ello.