add network status for ios/android