andreszs/cordova-plugin-sms-receive

Plugin ruins the iOS platform after installation

Taxi4you opened this issue · 1 comments

If I only have Android platform installed, everything is okay. But if I also have iOS platform installed the whole iOS platform is getting ruined and cannot build any more, get the next error:

Unable to load PlatformApi from platform. Error: Cannot find module 'unorm'
Unhandled error. (The platform "ios" does not appear to be a valid cordova platform. It is missing API.js. ios not supported.)

I understand that probably this feature is only allowed on Android but it shouldn't cause and ruin the iOS platform when installing it (cordova plugin add ....). What I probably need to do now is to completely remove the iOS platform, remove the plugin re-install the iOS platform and give up from this plugin since it stucks the iOS.

It could be better if this plugin was consider about the iOS platform or even very much better, to also function and work there.

BTW, on Android it works very good.

Sorry for this, unfortunately I currently cannot install it on Xcode to debug the issue. PR to fix this will be welcome.

Also update to new version 2.0.0 released today.