All native cordova plugins stopped working on Ionic3

匆匆过客 提交于 2019-12-25 17:45:05

问题


The app uses some standard ionic/native plugins including callNumber, SMS, Facebook, SocialSharing, Clipboard and at some point I realised that all of them stopped working when running on the xCode simulator or an actual iOS device (haven't yet built it for android). They were working flawlessly before...

I understand that it'll not be easy to figure out the cause with no code but just looking for hunches or methods to follow in the debugging since I'm new to debugging ionic apps' native functionality.


回答1:


Update:

It seems your environment is having a serious issue. So I would like to suggest an alternative here.That is, You can use Ionic package service.

Ionic Pro’s Package feature makes it easy to build native app binaries for iOS and Android in the cloud. Perfect for automating binary builds and for developers using Windows that want to build iOS apps.

Old Answer:

You can try this:

ionic cordova platform remove ios

After that:

ionic cordova platform add ios


来源:https://stackoverflow.com/questions/46560980/all-native-cordova-plugins-stopped-working-on-ionic3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!