cordova-plugin-local-notifications
cordova-plugin-local-notifications copied to clipboard
bug build
replace complie to implementation localnotification.gradle for android
I had an NotificationManagerCompat
issue on Android with Ionic 6 (beta), and using your changes (commit 083ccca0f4eee8fbec0cde1edd32207c286d2a04
) fixed it - thank you! :pray:
Will be testing more with the changes in this PR and can give feedback if anything doesn't work.
More details about the issue I ran into, for posterity:
Versions:
"@capacitor/app": "1.0.2",
"@capacitor/core": "^3.2.0",
"@capacitor/device": "^1.0.2",
"cordova-plugin-badge": "^0.8.8",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-local-notification": "^0.9.0-beta.2",
"@ionic-native/local-notifications": "^5.36.0",
"@capacitor/cli": "3.1.1",
"@ionic-native/core": "^5.36.0",
Full output log when selecting all the errors from Gradle in Android Studio:
> Task :capacitor-cordova-android-plugins:compileDebugJavaWithJavac FAILED
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Manager.java:30: error: cannot find symbol
import android.support.v4.app.NotificationManagerCompat;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Manager.java:44: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_DEFAULT;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Manager.java:44: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_DEFAULT;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:33: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:34: error: package android.support.v4.util does not exist
import android.support.v4.util.ArraySet;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:35: error: package android.support.v4.util does not exist
import android.support.v4.util.Pair;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:52: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MAX;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:52: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MAX;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:53: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MIN;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:53: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MIN;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:28: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:29: error: package android.support.v4.app.NotificationCompat.MessagingStyle does not exist
import android.support.v4.app.NotificationCompat.MessagingStyle.Message;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:44: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.DEFAULT_LIGHTS;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:44: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.DEFAULT_LIGHTS;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:45: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.DEFAULT_SOUND;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:45: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.DEFAULT_SOUND;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:46: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.DEFAULT_VIBRATE;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:46: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.DEFAULT_VIBRATE;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:47: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_MAX;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:47: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_MAX;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:48: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_MIN;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:48: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_MIN;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:49: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.VISIBILITY_PUBLIC;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:49: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.VISIBILITY_PUBLIC;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:50: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.VISIBILITY_SECRET;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:50: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.VISIBILITY_SECRET;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Manager.java:413: error: cannot find symbol
private NotificationManagerCompat getNotCompMgr() {
^
symbol: class NotificationManagerCompat
location: class de.appplant.cordova.plugin.notification.Manager
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:79: error: package NotificationCompat does not exist
private static SparseArray<NotificationCompat.Builder> cache = null;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:88: error: package NotificationCompat does not exist
private final NotificationCompat.Builder builder;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:97: error: package NotificationCompat does not exist
Notification (Context context, Options options, NotificationCompat.Builder builder) {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:446: error: package NotificationCompat does not exist
static NotificationCompat.Builder getCachedBuilder (int key) {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/action/Action.java:25: error: cannot find symbol
import android.support.v4.app.RemoteInput;
^
symbol: class RemoteInput
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:606: error: cannot find symbol
Message[] getMessages() {
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/action/Action.java:111: error: cannot find symbol
public RemoteInput getInput() {
^
symbol: class RemoteInput
location: class de.appplant.cordova.plugin.notification.action.Action
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:30: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
^
symbol: class NotificationCompat
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:31: error: package android.support.v4.app.NotificationCompat.MessagingStyle does not exist
import android.support.v4.app.NotificationCompat.MessagingStyle.Message;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:32: error: package android.support.v4.media.app.NotificationCompat does not exist
import android.support.v4.media.app.NotificationCompat.MediaStyle;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:177: error: package NotificationCompat does not exist
private void applyStyle(NotificationCompat.Builder builder) {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:219: error: package NotificationCompat does not exist
private void applyMessagingStyle(NotificationCompat.Builder builder,
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:220: error: cannot find symbol
Message[] messages) {
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Builder
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:240: error: package NotificationCompat does not exist
private void applyBigPictureStyle(NotificationCompat.Builder builder,
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:259: error: package NotificationCompat does not exist
private void applyInboxStyle(NotificationCompat.Builder builder) {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:278: error: package NotificationCompat does not exist
private void applyBigTextStyle(NotificationCompat.Builder builder) {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:294: error: package NotificationCompat does not exist
private void applyMediaStyle(NotificationCompat.Builder builder,
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:311: error: package NotificationCompat does not exist
private void applyDeleteReceiver(NotificationCompat.Builder builder) {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:335: error: package NotificationCompat does not exist
private void applyContentReceiver(NotificationCompat.Builder builder) {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:360: error: package NotificationCompat does not exist
private void applyActions (NotificationCompat.Builder builder) {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:412: error: package NotificationCompat does not exist
private NotificationCompat.Builder findOrCreateBuilder() {
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/util/AssetProvider.java:22: error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/util/AssetProvider.java:24: error: cannot find symbol
public class AssetProvider extends FileProvider {
^
symbol: class FileProvider
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/localnotification/ClickReceiver.java:25: error: cannot find symbol
import android.support.v4.app.RemoteInput;
^
symbol: class RemoteInput
location: package android.support.v4.app
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:167: error: cannot find symbol
List<Pair<Date, Intent>> intents = new ArrayList<Pair<Date, Intent>>();
^
symbol: class Pair
location: class de.appplant.cordova.plugin.notification.Notification
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:167: error: cannot find symbol
List<Pair<Date, Intent>> intents = new ArrayList<Pair<Date, Intent>>();
^
symbol: class Pair
location: class de.appplant.cordova.plugin.notification.Notification
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:168: error: cannot find symbol
Set<String> ids = new ArraySet<String>();
^
symbol: class ArraySet
location: class de.appplant.cordova.plugin.notification.Notification
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:185: error: cannot find symbol
intents.add(new Pair<Date, Intent>(date, intent));
^
symbol: class Pair
location: class de.appplant.cordova.plugin.notification.Notification
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:201: error: cannot find symbol
for (Pair<Date, Intent> pair : intents) {
^
symbol: class Pair
location: class de.appplant.cordova.plugin.notification.Notification
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:214: error: cannot find symbol
case IMPORTANCE_MIN:
^
symbol: variable IMPORTANCE_MIN
location: class de.appplant.cordova.plugin.notification.Notification
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:217: error: cannot find symbol
case IMPORTANCE_MAX:
^
symbol: variable IMPORTANCE_MAX
location: class de.appplant.cordova.plugin.notification.Notification
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Notification.java:433: error: package NotificationCompat does not exist
cache = new SparseArray<NotificationCompat.Builder>();
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Manager.java:121: error: cannot find symbol
CHANNEL_ID, CHANNEL_NAME, IMPORTANCE_DEFAULT);
^
symbol: variable IMPORTANCE_DEFAULT
location: class de.appplant.cordova.plugin.notification.Manager
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Manager.java:414: error: cannot find symbol
return NotificationManagerCompat.from(context);
^
symbol: variable NotificationManagerCompat
location: class de.appplant.cordova.plugin.notification.Manager
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:311: error: cannot find symbol
return NotificationCompat.COLOR_DEFAULT;
^
symbol: variable NotificationCompat
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:332: error: cannot find symbol
return NotificationCompat.COLOR_DEFAULT;
^
symbol: variable NotificationCompat
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:437: error: cannot find symbol
defaults |= DEFAULT_VIBRATE;
^
symbol: variable DEFAULT_VIBRATE
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:439: error: cannot find symbol
defaults &= DEFAULT_VIBRATE;
^
symbol: variable DEFAULT_VIBRATE
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:443: error: cannot find symbol
defaults |= DEFAULT_SOUND;
^
symbol: variable DEFAULT_SOUND
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:446: error: cannot find symbol
defaults &= DEFAULT_SOUND;
^
symbol: variable DEFAULT_SOUND
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:450: error: cannot find symbol
defaults |= DEFAULT_LIGHTS;
^
symbol: variable DEFAULT_LIGHTS
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:453: error: cannot find symbol
defaults &= DEFAULT_LIGHTS;
^
symbol: variable DEFAULT_LIGHTS
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:466: error: cannot find symbol
return VISIBILITY_PUBLIC;
^
symbol: variable VISIBILITY_PUBLIC
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:468: error: cannot find symbol
return VISIBILITY_SECRET;
^
symbol: variable VISIBILITY_SECRET
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:478: error: cannot find symbol
return Math.min(Math.max(prio, PRIORITY_MIN), PRIORITY_MAX);
^
symbol: variable PRIORITY_MIN
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:478: error: cannot find symbol
return Math.min(Math.max(prio, PRIORITY_MIN), PRIORITY_MAX);
^
symbol: variable PRIORITY_MAX
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:617: error: cannot find symbol
Message[] messages = new Message[list.length()];
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:617: error: cannot find symbol
Message[] messages = new Message[list.length()];
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Options.java:626: error: cannot find symbol
messages[i] = new Message(message, timestamp, person);
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Options
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/util/AssetUtil.java:365: error: cannot find symbol
return AssetProvider.getUriForFile(context, authority, file);
^
symbol: method getUriForFile(android.content.Context,java.lang.String,java.io.File)
location: class de.appplant.cordova.plugin.notification.util.AssetProvider
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/action/Action.java:112: error: package RemoteInput does not exist
return new RemoteInput.Builder(getId())
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:114: error: package NotificationCompat does not exist
NotificationCompat.Builder builder;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:178: error: cannot find symbol
Message[] messages = options.getMessages();
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Builder
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:222: error: package NotificationCompat does not exist
NotificationCompat.MessagingStyle style;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:224: error: package NotificationCompat does not exist
style = new NotificationCompat.MessagingStyle("Me")
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:227: error: cannot find symbol
for (Message msg : messages) {
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Builder
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:243: error: package NotificationCompat does not exist
NotificationCompat.BigPictureStyle style;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:247: error: package NotificationCompat does not exist
style = new NotificationCompat.BigPictureStyle(builder)
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:260: error: package NotificationCompat does not exist
NotificationCompat.InboxStyle style;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:263: error: package NotificationCompat does not exist
style = new NotificationCompat.InboxStyle(builder)
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:279: error: package NotificationCompat does not exist
NotificationCompat.BigTextStyle style;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:281: error: package NotificationCompat does not exist
style = new NotificationCompat.BigTextStyle(builder)
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:296: error: cannot find symbol
MediaStyle style;
^
symbol: class MediaStyle
location: class de.appplant.cordova.plugin.notification.Builder
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:298: error: cannot find symbol
style = new MediaStyle(builder)
^
symbol: class MediaStyle
location: class de.appplant.cordova.plugin.notification.Builder
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:362: error: package NotificationCompat.Action does not exist
NotificationCompat.Action.Builder btn;
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:368: error: package NotificationCompat.Action does not exist
btn = new NotificationCompat.Action.Builder(
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:414: error: package NotificationCompat does not exist
NotificationCompat.Builder builder = Notification.getCachedBuilder(key);
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/notification/Builder.java:417: error: package NotificationCompat does not exist
builder = new NotificationCompat.Builder(context, options.getChannel());
^
/path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/de/appplant/cordova/plugin/localnotification/ClickReceiver.java:76: error: cannot find symbol
Bundle input = RemoteInput.getResultsFromIntent(getIntent());
^
symbol: variable RemoteInput
location: class de.appplant.cordova.plugin.localnotification.ClickReceiver
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /path/to/my/project/android/capacitor-cordova-android-plugins/src/main/java/org/apache/cordova/file/AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
96 errors