title: React Native detect airplane mode
body: <p>Is there a way to detect whether the airplane mode is turned on/off for React Native apps.</p>
  
  <p>I found the <a href="https://www.npmjs.com/package/react-native-settings" rel="nofollow noreferrer">npm module</a> to achieve this on Android but can't find a way to do the same on iOS.</p>
  
  <p>If there's no way to do this via React Native is there a solution to write the code in Swift (which will get the Airplane mode settings) and plug it in React Native app?</p>
  
  <p>Thanks</p>