I am current working on a Cordova plugin for Universal Windows Application. I know it should not be like this, but according to the requirement and current solution for other platforms (Android and IOS) in the same plugin, seems I have to implement couple of xaml pages inside the plugin and navigate to these plugin pages from the main application.
So here comes the question, is there any way for me to get current window frame and use it to navigate? Or notify the UI thread to navigate to the target page. It is obvious that the plugin is not running on the UI thread so Window.Current property always returns null if I am trying to get it inside the plugin.
Thanks for helping. I am new to Cordova, any help would be appreciated.