Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

thanks Maryna,
I have tried this code from the post you suggested

pushNotification.setApplicationIconBadgeNumber(successHandler, 0);

on login page, on device ready, but it didnt do anything

by the way did you get any info on the ios themes and addind a swatch

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

iopush, token undefined

[quote:]by the way did you get any info on the ios themes and addind a swatch sorry, not yet..[/quote]

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

iopush, token undefined

Please check my reply here https://getsatisfaction.com/apperyio/...

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

thx , works great

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

iopush, token undefined

Hi michael,
do you have to install this plugin?
https://github.com/katzer/cordova-plu...

Regards!

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

Hi Alex how u doin,
I didn't use the plugin, just the code Maryna provided
PushNotification.setApplicationIconBadgeNumber(0, function(){});
on device ready of you start screen,
my badge is set to 1 and the badge clears when user opens the app, great for time limited special offers!

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

iopush, token undefined

Hi michael,
Oh great, Im also going to use that code!
Here struggling with some bugs, I havent finished my app...Hope to have this working soon..

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

No the feeling,
just 1 thing I have noticed using this code, if you send a badge and the user opens the app before reading the notification, the notification is deleted from notification screen,
so no badge no delete, maybe I will have to look at plugin :(

keep the faith,
2moro is always better!

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

iopush, token undefined

Hi Maryna,
\I asked you about the css for 3 themes in order to add swatches. you gave me this link
https://getsatisfaction.com/apperyio/...

that was for push badge clearing,
do you have any news on the themes

thx

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

iopush, token undefined

You can find it on Source tab in CSS file for corresponding theme.

Return to “Issues”