I need to make a react-native app that checks if the device is suitable for esim or not.
I obtain this information https://source.android.com/devices/tech/connect/esim-overview to setup esim but cannot figure out how to implement it in real code. I am trying to use EuiccManager to check whether it supports esim or not?
Please, could you help me?
I tried to take reference from this class EuiccManager but do not find how to use this in react native.
I recently came across this problem. What I did was, I had already added react-native-deviceinfo library.
So I queried the device name from it and check whether the device name lies within the following list
As we know these are the devices which are currently supporting eSims.
This is a temporary solution a though and the list will need managing once a new eSim device is launched.