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

Dual sim IMEI #83

Open PallaviG-Xecomit opened 6 years ago

PallaviG-Xecomit commented 6 years ago

Expected behaviour

result.cards[0].deviceId and result.cards[1].deviceId should give both IMEI numbers of dual sim phone

Actual behaviour

result.cards[0].deviceId and result.cards[1].deviceId, both are giving value as undefined.

I'm seeing this behaviour on

A android device

I am using

cordova

Hardware models

Redmi note 3

OS versions

Android 5.1.1

I've checked these

It happens on a fresh Cordova CLI project as well - havn't checked I'm waiting for deviceready to fire. - yes My JavaScript has no errors (window.onerror catches nothing). - yes I'm using the latest cordova library, Android SDK, Xcode, etc. -yes

So how can we reproduce this?

cordova 8.0.0

Provide the steps to reproduce the issue.

Provide files, sources if available.