title: Request Push Notification Permissions for Cordova iOS and Android?
body: <p>I'm stuck and would greatly appreciate your help.</p>
  
  <p><strong>Details</strong></p>
  
  <ul>
  <li>I have a working React/Cordova app.</li>
  <li>I'm using PubNub to publish APNS and FCM notifications. </li>
  <li>I'm using cordova-plugin-device to obtain the device UUID.</li>
  </ul>
  
  <p><strong>I need to request permission from the user to allow push notifications.</strong></p>
  
  <p>How do I do that for Android and iOS, respectively?</p>
  
  <p>I've tried cordova-plugin-firebase, cordova-plugin-firebasex, and phonegap-plugin-push but they aren't working with cordova@9.x and are overkill for my purposes. I just want to ask for push notification permission, not send notifications directly from the device.</p>
  
  <p>Is there an easy or simple way to do this for iOS and Android with Cordova?</p>