cordova-plugin-sim icon indicating copy to clipboard operation
cordova-plugin-sim copied to clipboard

plugin not working, reported not installed under iOS

Open whisere opened this issue 5 years ago • 0 comments

Expected behaviour

It works under Android, but under iOS it reports plugin not installed. although on xcode build phrase - compiled libraries the Sim.m is included, plugin folder also exists.

Actual behaviour

WARN: Ionic Native: tried calling Sim.requestReadPermission, but the Sim plugin is not installed. Install the Sim plugin: 'ionic cordova plugin add cordova-plugin-sim' Your phoneNumber is ERROR: ERROR Error: Uncaught (in promise): plugin_not_installed

I'm seeing this behaviour on

  • [ ] iOS device iPhone, iPad

I am using

  • [ ] cordova
  • [ ] ionic

Hardware models

iPhone xs

iOS versions

12.2, 12.1

I've checked these

  • [ ] I'm using the latest cordova library, Ionic, Xcode, etc.

So how can we reproduce this?

Provide the steps to reproduce the issue. ionic cordova plugin add cordova-plugin-sim npm install --save @ionic-native/sim@4 run successfully build and run without problem under xcode.

Any idea will be much appreciated.

whisere avatar Mar 28 '19 02:03 whisere