title: How can I check if push notifications were disabled in React Native using PushNotificationIOS?
body: <p>I'd like to determine if push notifications were disabled by a user using React Native with PushNotificationIOS.</p>
  
  <p><code>PushNotificationIOS</code> has the method <code>checkPermissions</code>, but this method only tells me whether notifications are enabled.</p>
  
  <p>I would like, using React Native, to tell if my app prompted the user to enable notifications and the user denied the permission, or if the user independently went to settings and disabled notifications.</p>
  
  <p>In native code, you'd use <code>UNUserNotificationCenter</code> and check <code>getNotificationSettings</code> for <code>authorizationStatus</code> with value <code>.denied</code>.</p>
  
  <p>Thanks.</p>