pbakondy / cordova-plugin-sim

:cherries: A cordova plugin to get the device's SIM data (carrier name, mcc mnc, country code, telephonenumber, etc)
MIT License
163 stars 100 forks source link

Android 4.4.4 issue with dual sim #47

Closed ramesh-sarvatra closed 7 years ago

ramesh-sarvatra commented 7 years ago

Expected behaviour

cards array should be listed.

Actual behaviour

cards array is null

I'm seeing this behaviour on

I am using

Hardware models

Example: Samsung Galaxy S6, iPhone 6s Lenovo A6000

OS versions

Android 4.4.4

I've checked these

So how can we reproduce this?

Cordova, ionic

pbakondy commented 7 years ago

It is not a bug.

Check README: this feature is supported with

On 15 Dec 2016 08:50, "ramesh-sarvatra" notifications@github.com wrote:

Expected behaviour

cards array should be listed. Actual behaviour

cards array is null I'm seeing this behaviour on

  • Android device

I am using

  • cordova
  • ionic

Hardware models

Example: Samsung Galaxy S6, iPhone 6s Lenovo A6000 OS versions

Android 4.4.4 I've checked these

  • It happens on a fresh Cordova CLI project as well.
  • My JavaScript has no errors (window.onerror catches nothing).
  • I'm using the latest cordova library, Android SDK, Xcode, etc.

So how can we reproduce this?

Cordova, ionic

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pbakondy/cordova-plugin-sim/issues/47, or mute the thread https://github.com/notifications/unsubscribe-auth/AAej2aovcQSe7NIJrFwX9zLrRW0z8yIIks5rIPFhgaJpZM4LNzu_ .

ramesh-sarvatra commented 7 years ago

HI pbakondy,

Currently plugin showing the single sim information on device running on less than lollipop versions. Could please add cards array on devices running on less than lollipop versions regardless of both sim inserted or single sim inserted?

pbakondy commented 7 years ago

No I cannot because this older Android version does not support it.

ramesh-sarvatra commented 7 years ago

Ok. Thanks!