locked
How to get old external.notify behaviour in 8.1 WebView

    Question

  • Hi everyone

    In 8.1 update window.external.notify can no longer be called if the domain is not added to the app manifest. Is there any reason why this feature was introduced?

    We're making LoB Store app in which user can connect to backend, which will provide some web content. In order th have greater UX we're using InvokeScript and external.notify methods to communicate between native and web part. Backend server is in control of the user (and usually in intranet) thus content served is known to the user, but we cannot hardcode any values inside app manifest. In Windows 8 we were adding AllowedScriptNotifyUris but since 8.1 this is no longer possible. Is there any API that will allow push notification from WebView in 8.1?

    Best regards

    Krzysiek


    • Edited by KFediuk Friday, February 14, 2014 3:02 PM
    Friday, February 14, 2014 3:01 PM

Answers

  • No, there's no way to get the Windows 8 behavior in a Windows 8.1 app.

    If you're building this for your enterprise you can use a wildcard for your domain.

    --Rob

    Friday, February 14, 2014 3:28 PM
    Moderator