[Interest] Cross-platform local notifications?

Jason H jhihn at gmx.com
Wed Mar 11 02:52:28 CET 2020


Qt does not. But I do... I'm not at my source atm though..

> Sent: Monday, March 09, 2020 at 9:36 PM
> From: "Israel Brewster" <ijbrewster at alaska.edu>
> To: "Jérôme Godbout" <godboutj at amotus.ca>
> Cc: Interest <interest at qt-project.org>
> Subject: Re: [Interest] Cross-platform local notifications?
>
> For iOS specifically I’m talking about this:
> 
> https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/notifications/ <https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/notifications/>
> 
> 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.
> ---
> 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
> 
> > 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
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>


More information about the Interest mailing list