pbakondy / cordova-plugin-sim

:cherries: A cordova plugin to get the device's SIM data (carrier name, mcc mnc, country code, telephonenumber, etc)
MIT License
163 stars 100 forks source link

APN detection #28

Closed EvilFreelancer closed 8 years ago

EvilFreelancer commented 8 years ago

Good morning, @pbakondy !

As i know the "cordova-plugin-sim" can detect MCC, MNC and many other things. But i cant see how to get my APN settings. Is it possible to implement a solution to obtain APN settings (name, login and password)?

Thank you in advance.

pbakondy commented 8 years ago

Sorry, it is not possible.

Android

APN settings is not accessible for 3rd party applications since API 14

iOS

"Third-party apps don't get that level of control over the hardware"

Win

"Apps cannot touch APN. That is the realm of the user, OEM and mobile operators."

EvilFreelancer commented 8 years ago

@pbakondy it is logical, but what about reading of apn settings? it is prohibited too?

pbakondy commented 8 years ago

yes it is, I tried it all