cordova - Can anybody give me an example how to call a CORS enabled web service from web worker in Phonegap (iOS)? -
i want call cors enabled restful web service cordova ios app within web worker.cordova use load web app using file:// protocol , web service https:// both origins different.i want know whether possible or not?if can give me example.
from web worker cannot directly call cors enabled api.but if deploying hybrid app ios can achieve this.there class called nsurlprotocol, using life cycle method can achieved.thanks.
Comments
Post a Comment