Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决Cordova在iOS10下插件失效 | Hoofoo's Blog #16

Open
Hoofoo-WHU opened this issue Jan 22, 2019 · 0 comments
Open

解决Cordova在iOS10下插件失效 | Hoofoo's Blog #16

Hoofoo-WHU opened this issue Jan 22, 2019 · 0 comments

Comments

@Hoofoo-WHU
Copy link
Owner

https://hoofoo-whu.github.io/article/2017-04-19/%E8%A7%A3%E5%86%B3Cordova%E5%9C%A8iOS10%E4%B8%8B%E6%8F%92%E4%BB%B6%E5%A4%B1%E6%95%88.html

最近做毕设遇到了Cordova在iOS10环境插件不生效的问题,寻找解决方法很久无果,最终在StackOverflow上找到了解决方法,虽然并不能理解,但是好歹解决了问题,StackOverflow大法好。 解决方法:iOS 10需要在index.html的Content-Security-Policymeta标签中添加gap://ready和file:,添加完之后是这样的:1<meta h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant