Search code examples
3greachability

Reachability - 3G network - No credit


I have a slight issue and wondering if someone out there can help. I am using reachability in my project and it is working without any issues, however we have a phone that has 3g connection but no credit and this isn't falling within the reachability criteria so not erroring at all.

Is there any way to detect this and handle it?

Thanks


Solution

  • IF no credit, the behavior of network connection is up to your operator. You can check whether socket is broken but you will not know it is caused by no credit or, server down, or other real network connection issue. If you operator provide some online system to check credit, maybe you can implement a function to check credit online with some delay (up to operator's system)