-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 10 and lower exception #26
Comments
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
+1, any new on this? Any lower version of the plugin works on Android 10? |
No it will not be supported anymore because Android policy blocked the access to that content |
I have the same issue, someone have a solution ? |
should be fixed on the latest commit in main |
@onghuisheng when do you plan to publish it to pub.dev? |
The author seems to be inactive, my pull request is also still pending. Meanwhile you can try using my fork with the fixes by updating pubspec.yaml. More info here. Fork link. |
Also, the values in telephonyInfo are always empty on android 10. Works for 13 though
edit: |
Hey guys, i have forked and adjusted that bugs and handled the library for android 6.0 and higher. I have ignored the |
Hello
I am getting this error for Android 10 and lower.
java.lang.NoSuchMethodError: No virtual method getSubscriptionId()I in class Landroid/telephony/TelephonyManager; or its super classes (declaration of 'android.telephony.TelephonyManager' appears in /system/framework/framework.jar!classes2.dex).
Also why did not you set the version to 3 upon doing the breaking changes?
Thanks,
The text was updated successfully, but these errors were encountered: