Code Monkey home page Code Monkey logo

Comments (4)

globules-io avatar globules-io commented on May 20, 2024

Yes, most probably. Please be more specific than "not working". Also paste your preferences.

from cordova-plugin-ios-xhr.

spreadzz avatar spreadzz commented on May 20, 2024

By not working, I mean it's not loading the local HTML and JS files with XMLHTTPRQUEST.
It's the same as I never install the plugin. And it's the same as before I started using cordova-plugin-wkwebview-file-xhr

I do not get any errors in the console. I hooked the xCode with Safari to check out.
I'm not sure what more info I can provide you.

If I downgrade to cordova-ios 5.1.1
Install cordova-plugin-wkwebview-file-xhr and it's dependencies it works.
But unfortunately I need cordova-ios 6

So right now my app is stuck at a gray blank screen because it can not load the necessary local files.

Screenshot 2020-08-10 at 15 06 53

from cordova-plugin-ios-xhr.

spreadzz avatar spreadzz commented on May 20, 2024
        <preference name="target-device" value="universal" />
        <preference name="deployment-target" value="11.0" />
        <preference name="SuppressesLongPressGesture" value="true" />
        <preference name="DisallowOverscroll" value="true" />
        <preference name="WKWebViewOnly" value="true" />
        <feature name="CDVWKWebViewEngine">
            <param name="ios-package" value="CDVWKWebViewEngine" />
        </feature>
        <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />

from cordova-plugin-ios-xhr.

globules-io avatar globules-io commented on May 20, 2024
  1. There is no preference for this plugin
 <feature name="CDVWKWebViewEngine">
            <param name="ios-package" value="CDVWKWebViewEngine" />
        </feature>
        <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />

is obsolete with cordova-ios.

Please RTFM

from cordova-plugin-ios-xhr.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.