title: Ssh to hotspot doesn't work when mobile data on
body: <p>I've followed an article (<a href="https://www.raspberryconnect.com/projects/65-raspberrypi-hotspot-accesspoints/158-raspberry-pi-auto-wifi-hotspot-switch-direct-connection" rel="nofollow noreferrer">https://www.raspberryconnect.com/projects/65-raspberrypi-hotspot-accesspoints/158-raspberry-pi-auto-wifi-hotspot-switch-direct-connection</a>) to be able to access Raspberry Pi hotspot when it's offline, it works perfectly, and I can SSH my android phone to it.</p>
  
  <p><strong>Here comes the problem,</strong></p>
  
  <p>I can SSH to the Raspberry Pi BUT with my phone data off.</p>
  
  <p>I need to have it on because I'm hitting different endpoints accessible just with internet obviously, and apparently it's an Android issue and with iOS should work (Can't try because I don't have Iphone).</p>
  
  <p><strong>More info:</strong> The SSH client I'm using is JuiceSSH, but my goal is to use a React Native mobile app with this library <a href="https://github.com/shaqian/react-native-ssh-sftp" rel="nofollow noreferrer">https://github.com/shaqian/react-native-ssh-sftp</a></p>
  
  <p>To connect to the wifi I'm using <a href="https://github.com/JuanSeBestia/react-native-wifi-reborn" rel="nofollow noreferrer">https://github.com/JuanSeBestia/react-native-wifi-reborn</a></p>
  
  <p>I've opened an issue too in their project  - <a href="https://github.com/JuanSeBestia/react-native-wifi-reborn/issues/41" rel="nofollow noreferrer">https://github.com/JuanSeBestia/react-native-wifi-reborn/issues/41</a></p>
  
  <p>It's there anybody facing the same issue?</p>
  
  <p>Is it possible that Wifi-Direct will help to fix this issue?</p>
  
  <p><strong>Note:</strong> I don't think it has anything to do but I'm using <em>Raspberry Pi Zero</em></p>
  
  <p>Thanks in advance.</p>