Do you test each time you use the internet if t is off? How can you do check this? How can you open an intent to turn on internet on android? can you have something similar on iOS?
1 Answer
Yes and you can test using something like this:
if(Titanium.Network.networkType === Titanium.Network.NETWORK_NONE) { //React here... }
Your Answer
Think you can help? Login to answer this question!