Is there any possible way to operate on the UI thread from a Cordova plugin for UWA application?

Thread is closed for posting
1 posts, 0 answers
  1. Jing
    Jing avatar
    1 posts
    Member since:
    Oct 2017

    Posted 23 Oct 2017 Link to this post

    Hi all

    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.

Back to Top