Home  >  Article  >  Backend Development  >  javascript - How to use cordova-plugin-whitelist plug-in?

javascript - How to use cordova-plugin-whitelist plug-in?

WBOY
WBOYOriginal
2016-07-06 13:51:15909browse

I used cordova ionic to develop an ios app, but when I tested the app on the web page to access data, a cross-domain problem occurred, resulting in the inability to request data. Then I checked and it said to install this whitelist plug-in. But I have installed it, but it still doesn’t work. Do you need to configure anything else?

Reply content:

I used cordova ionic to develop an ios app, but when I tested the app on the web page to access data, a cross-domain problem occurred, resulting in the inability to request data. Then I checked and it said to install this whitelist plug-in. But I have installed it, but it still doesn’t work. Do you need to configure anything else?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn