retrieve package version in runtime in a uwp chromium based pwa

Eran Singer 1 Reputation point

since there is no access to the Windows object in the new EdgeChromium
i cannot access the version number of thw packaged pwa.

is there any equivalent to Windows.ApplicationModel.Package.current?

bare in mind that i want to distinguish web app version from packaged version (for internal feature flags)

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
1,812 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yu Zhou-MSFT 10,451 Reputation points Microsoft Vendor

    Hi @Eran Singer

    I can totally understand what you want, but there's no such equivalent API now. I'm afraid what you want can't be achieved.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Yu Zhou