Background: As mentioned in the header, I use two sims (one physical and one Esim). Either one can be made primary sim as required by the user. Also, both the sims are active at the same time.
My app involves getting cellinfo and signal strength from the device. I use telephonyManager.getAllCellInfo() and telephonyManager.getSignalStrength() to get the relevant data. But the data only comes in for primary sim. Is there a way to get this data (cellinfo and signal strength objects) from both primary and secondary sims at the same time?
Additional Research: Using Subscription Manager, I was able to get some data like Phone number, MCC, MNC, Carrier name from both the sims at once.