awesome-cordova-plugins icon indicating copy to clipboard operation
awesome-cordova-plugins copied to clipboard

Push plugin does not work with cordova-android 11

Open chintogtokh opened this issue 2 years ago • 0 comments

I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request

Current behavior: Ionic docs say to use phonegap/phonegap-plugin-push per https://ionicframework.com/docs/native/push but this plugin is deprecated and is forked by https://github.com/havesource/cordova-plugin-push , which seems to be compatible with Android 12.

However, @awesome-cordova-plugins/push still points to the old phonegap-plugin-push plugin, and mixing at matching the two does not work (no push notifications triggered)

Expected behavior: For Android 12 to be supported (All app submissions will be required to target Android 12 (API level 31) or higher. per https://ionic.zendesk.com/hc/en-us/articles/7891143965975-Migrating-to-Cordova-Android-11)

Steps to reproduce:

Related code: N/A

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):


Ionic:

   Ionic CLI                     : 6.20.1 (/Users/chintogtokh/.nvm/versions/node/v16.16.0/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 4.11.7
   @angular-devkit/build-angular : 0.803.29
   @angular-devkit/schematics    : 8.3.29
   @angular/cli                  : 8.3.29
   @ionic/angular-toolkit        : 2.1.1

Cordova:

   Cordova CLI       : 11.0.0
   Cordova Platforms : android 11.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 21 other plugins)

Utility:

   cordova-res : 0.15.4
   native-run  : 1.7.0

System:

   Android SDK Tools : 26.1.1 (/Users/chintogtokh/Library/Android/sdk)
   ios-deploy        : 1.11.4
   ios-sim           : 8.0.2
   NodeJS            : v16.16.0 (/Users/chintogtokh/.nvm/versions/node/v16.16.0/bin/node)
   npm               : 8.3.2
   OS                : macOS Big Sur
   Xcode             : Xcode 13.2.1 Build version 13C100```

chintogtokh avatar Sep 15 '22 03:09 chintogtokh