simple integration issue

76 views
Skip to first unread message

plot-users

unread,
Feb 25, 2014, 4:13:00 AM2/25/14
to plot-...@googlegroups.com
the current issue i am tackling is handling background notifications for an iOS app. I have the example code from the plot api docs running and currently can read my notifications in the console. I wanted to see what background functions there might be that assign a notification to be displayed in the status bar, and/or to display a red number on the icon indicating new notifications. thank you

Paul Everts

unread,
Feb 25, 2014, 4:18:00 AM2/25/14
to plot-...@googlegroups.com, plot-...@googlegroups.com
You can update the badge in the notification filter with the property applicationIconBadgeNumber on UIApplication.

I'm not quite sure what you mean with showing a notification in the statusbar in iOS. When a device is unlocked and your app is not in the foreground, by default your notifications will be shown like this:

Nilesh Goswami

unread,
Feb 24, 2016, 4:52:26 AM2/24/16
to plot-users
Hi,

how can I implement badge in ionic application? I mean ofcouse I can create static badges but for dynamic badges I will have to implement it in plot.filer right? But. In documentation for cordova/phonegap its is mentioned that plot.filter is available only for iOS, also segmentation / filter feature is not included in free package.

Cas Plattèl

unread,
Feb 24, 2016, 6:01:26 AM2/24/16
to plot-users
Hi Nilesh,

Yes, you can use the notification filter for updating the badge, keep in mind that apps that have the action deeplinking or in-app webview bypass the filter though. As you said we only support the filter for iOS on Phonegap, this is due to limitations of Phonegap itself. Since you only need the badge functionality for iOS I guess this shouldn't be a problem.

More information about the specific implementation of the notification filter can be found on our documentation page, in the Phonegap chapter (http://www.plotprojects.com/documentation).

Regards,
Cas Plattel

Nilesh Goswami

unread,
Feb 25, 2016, 2:29:33 AM2/25/16
to plot-users
Hi,

I am building app using Ionic for both Android and iOS, so I would prefer notification filter to update badge for both Android and iOS. So how can I achieve notification filter for android? any workarounds? 
Also can please explain "apps that have the action deeplinking or in-app webview bypass the filter though".  Right now I dont have any implementation for notification hander. Only thing I have is in dashboard /message I've selected the option to "open in browser".

Cas Plattèl

unread,
Feb 25, 2016, 6:29:36 AM2/25/16
to plot-users
Hi Nilesh,

You can use the notification filter on Android, but you will have to do it natively, not through Cordova. I wonder why you would want this though, as Android does not have a similar badge system like iOS has. 

With the comment "apps that have the action deeplinking or in-app webview bypass the filter though" I was referring to the actions in the dashboard called "Webpage in app" and "Deeplink to another app", if you use these the notification will bypass the filter, but since you're only using "open in browser" you should be fine, just wanted to mention it.

Regards,
Cas Plattel
Reply all
Reply to author
Forward
0 new messages