issues
search
jonz94
/
capacitor-sim
⚡️ Capacitor plugin to get information from device's sim cards.
https://www.npmjs.com/package/@jonz94/capacitor-sim
BSD Zero Clause License
17
stars
2
forks
source link
feat!: upgrade to Capacitor 5
#5
Closed
jonz94
closed
1 year ago
jonz94
commented
1 year ago
Closes #4
Upgrade to Capacitor 5
Add support for Android 13
On Android 13 and above, we use
android.telephony.SubscriptionManager getPhoneNumber(subscriptionId) method
to get the phone number of the device, instead of [android.telephony.SubscriptionInfo getNumber() method](
https://developer.android.com/reference/android/telephony/SubscriptionInfo#getNumber
()), because the latter method was deprecated in API level 33.
Apply PR #6 to avoid issue #3
Closes #4