For example, if a client doesn't have internet access, the runtime isn't automatically updated.Īdditionally, some group policies pause updating of the runtime. If you use the Evergreen WebView2 Runtime, there are some scenarios where the runtime on a client hasn't been automatically updated to the latest version. Use feature-detection to make sure that the newer APIs that are used by your WebView2 app are supported by the WebView2 Runtime that's installed on the client. Because APIs are continually being added to WebView2, new versions of the runtime are also released to support the new APIs. To run a WebView2 app that was developed with a particular version of the Webview2 SDK, the client must have a compatible version of the WebView2 Runtime installed. Test whether newer APIs are supported by the installed WebView2 Runtime See Test your app for forward-compatibility. This guidance is similar to the guidance that we give to web developers. To ensure that your WebView2 app will continue to work as expected, test your web content in the WebView2 control against Microsoft Edge Insider (preview) Channels (Beta, Dev, or Canary). When using the Evergreen WebView2 Runtime, the runtime updates automatically, so you must regularly run compatibility tests. Run compatibility tests regularly when using the Evergreen Runtime See Deploying the Evergreen WebView2 Runtime. If you use the Evergreen runtime, before running your WebView2 app, test whether the Evergreen WebView2 Runtime is installed on the client. The Evergreen runtime also requires less storage space on the disk than the Fixed Version runtime. The Evergreen runtime updates automatically on the client, so that the latest features and security patches are available to your WebView2 app. Fixed Version runtime distribution is only recommended for apps that have strict compatibility requirements. We generally recommend using the Evergreen WebView2 Runtime. When you build WebView2 production apps, we recommend following these recommendations and best practices. Every development team follows different practices when building their application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |