Hi..
I am trying to use push notifications on my android device for the first time, and after looking at the docs, it seems like local notifications would be perfect. So I’m trying to create a simple static notification, but no luck for hours. This is what I have so far:
import Felgo 3.0
import QtQuick 2.0
import Felgo 3.0
App {
NavigationStack {
Page {
title: qsTr("Main Page")
}
}
NotificationManager {
id: notificationManager
}
Notification {
id: notifier
notificationId: "TestNot"
message: "Test notification..."
timeInterval: 60
}
Component.onCompleted: {
notificationManager.scheduleNotification(notifier)
}
}
I have also tried the plugin example for local notifications (on the same device), and after selecting ‘schedule notification’ I get the message telling me it will occur in ‘3 seconds’, but still nothing. On my device I can receive notifications from other apps, and notifications for my app are set to normal like everything else. Help… please…. Thanks.
I’m using:
Windows 10
Qt 5.9.2
Android 6.0