pbakondy/cordova-plugin-sim

IMSI of the sim which is present in slot 1.

Opened this issue · 0 comments

Expected behaviour

I want to get the IMSI(subscriberID) of the sim which is present in sim slot 1

Actual behaviour

The plugin response returns the value based on the primary sim which i have set to handle calls

I'm seeing this behaviour on

I am using Lenovo vibe K5 note (Android 6.0)

I am using

cordova version 6.4

Hardware models

I am using Lenovo vibe K5 note

OS versions

Android 6.0

I've checked these

It happens on a fresh Cordova CLI project as well.
I'm waiting for deviceready to fire.
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?

Just set ur default sim for calls to sim 2.

is there a way to always get the imsi for the sim in first sim slot.

I have given persion to read phone state, and i am aslo getting an array of values for both sims, but that array does not provides the subscription id