Closed SamiYousef closed 1 year ago
EuiccManager added in API level 28
Should I upgrade minSdkVersion to 28, or do you recommend other solutions to fix the crash?
HI @odemolliens , I have same issue, what should I do if user's device API is less than 28? Or I should not call the SDK if it is less than28?
Did you manage to find something working ? Application is crashing on every device Android 8 and less even with condition isEsimSupported to false
Solution is :
let SimCardsManagerModule
if ((Platform.OS === 'android' && Platform.Version >= 28)) {
SimCardsManagerModule = require('react-native-sim-cards-manager').default
}
Exception in HostObject::get for prop 'SimCardsManager': java.lang.NoClassDefFoundError: android.telephony.euicc.EuiccManager