Push plugin on android does not work
See original GitHub issueFollowed steps present in https://capacitorjs.com/docs/guides/push-notifications-firebase on a brand new ionic capacitor project. When I ran build on Android studio, it threw following error:
android/capacitor-cordova-android-plugins/src/main/java/com/adobe/phonegap/push/PushPlugin.java:15: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
^
symbol: class NotificationCompat
location: package android.support.v4.app
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Push plugin does not work with cordova-android 11 #4319
Current behavior: Ionic docs say to use phonegap/phonegap-plugin-push per https://ionicframework.com/docs/native/push but this plugin is ...
Read more >Cordova plugin push notification not working? - Stack Overflow
I am new in Cordova and I want to use cordova Push Notification. Can anyone help me to use the plugin ...
Read more >Push notification not working - WordPress.org
My app's push notification not working recently. I am always getting the following message when I visit the page for wpmobile.app's plugin settings...
Read more >Web Push Troubleshooting - OneSignal Documentation
Web Push Troubleshooting · Go to your website with the OneSignal code active. · Open the browser's Developer Tools Console with F12, or...
Read more >[OneSignal Plugin] One signal Push notification Deeplink ...
[OneSignal Plugin] One signal Push notification Deeplink does not work on iOS but works on android.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I did not know about this plugin. I just tried FCM plugin and it works like a charm for both Android and iOS.
Thanks much
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.