[Interest] Cross-platform local notifications?
ijbrewster at alaska.edu
Mon Mar 9 21:36:30 CET 2020
For iOS specifically I’m talking about this:
Which may or may not be the same as the link you just sent :-) I’m assuming Android has something similar, but the link you sent has a note at the top stating "This package is part of the Android support library which is no longer maintained” - presumably there is something that *is* still maintained.
But yeah, I’m looking (hoping?) for a Qt common abstraction. Otherwise, I guess I’ll have to write native and tie it in somehow…. Not sure how that works for android.
Alaska Volcano Observatory
Geophysical Institute - UAF
2156 Koyukuk Drive
Fairbanks AK 99775-7320
> On Mar 9, 2020, at 12:32 PM, Jérôme Godbout <godboutj at amotus.ca> wrote:
> What you describe look like a local notification (not pushed), for iOS
> https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/SchedulingandHandlingLocalNotifications.html <https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/SchedulingandHandlingLocalNotifications.html>
> for Android you might want to take a look at NotificationCompat.Builder
> https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder <https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder>
> I don’t known if any Qt common layer is made for those!?
> From: Interest <interest-bounces at qt-project.org> On Behalf Of Israel Brewster
> Sent: March 9, 2020 4:22 PM
> To: Interest <interest at qt-project.org>
> Subject: [Interest] Cross-platform local notifications?
> I’m writing a Qt C++ (not QML) app for iOS and android, and I need to be able to display a notification (such that would show up in Notification Center on iOS, not an alert box). How can I do this? My searches on google only find results for push notifications (this is all local) or maybe an implementation in QML.
> Israel Brewster
> Software Engineer
> Alaska Volcano Observatory
> Geophysical Institute - UAF
> 2156 Koyukuk Drive
> Fairbanks AK 99775-7320
> Work: 907-474-5172
> cell: 907-328-9145
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest