Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Add BadgeCount to tabs/side menu #195

Open
countrdd opened this issue Nov 13, 2013 · 5 comments
Open

Add BadgeCount to tabs/side menu #195

countrdd opened this issue Nov 13, 2013 · 5 comments
Milestone

Comments

@countrdd
Copy link

No description provided.

@mcongrove
Copy link
Owner

Not at this time.

Currently, the way content downloading works, all content is considered 'new' and therefore every tab would have a badge count of 20.

Is there some specific reason other than the one I mention you want this feature?

@mcongrove
Copy link
Owner

Ah, I see. As I said, right now we have no support for this. I can add it to the backlog, or if you want to tackle adding it to the side menu and tab bar, please submit a pull request so others can benefit :)

@countrdd
Copy link
Author

Thanks. I am looking at it...I am kinda new to Alloy...

So just trying to figure out where I need to add the badgeCount: property...to the widget.

But if I get it working I will let you know.

BTW...the project I am working on is http://reeldealnetwork.com - GPS based marketing...

From: Matthew Congrove <[email protected]mailto:[email protected]>
Reply-To: mcongrove/ChariTi <[email protected]mailto:[email protected]>
Date: Wednesday, November 13, 2013 5:16 PM
To: mcongrove/ChariTi <[email protected]mailto:[email protected]>
Cc: Dusty Countryman <[email protected]mailto:[email protected]>
Subject: Re: [ChariTi] Is it possible to add a BadgeCount on the tabs? (#195)

Ah, I see. As I said, right now we have no support for this. I can add it to the backlog, or if you want to tackle adding it to the side menu and tab bar, please submit a pull request so others can benefit :)

Reply to this email directly or view it on GitHubhttps://github.com//issues/195#issuecomment-28439649.

@mcongrove
Copy link
Owner

Unfortunately, for better control, we used all custom components, so we're not using an actual tab bar; therefore, badgeCount isn't a property. It would have to be done as a custom image/label that is added to the tab bar.

I'll bump this up to the 1.2.1 release and try to get it done for you ASAP.

@joshjensen
Copy link
Collaborator

One of the ways that I have gotten around that limitation is to create a message "stream" in a json file. Then you can populate lists or do a bunch of things when the app comes into focus. If a push went out just pull the last item from your stream. Maybe not applicable to your solution but it would be dead simple to do with json or mongodb.

On Nov 13, 2013, at 5:26 PM, countrdd [email protected] wrote:

Thanks again...

I am learning....slowly but learning....

I was amazed to have gotten push notifications working...the only thing I don't like about push is that if the app is in the background and if you hit the app icon. It does not process the queued push notifications.....oh we'll. I guess you can't have it all...

From: Matthew Congrove <[email protected]mailto:[email protected]>
Reply-To: mcongrove/ChariTi <[email protected]mailto:[email protected]>
Date: Wednesday, November 13, 2013 5:23 PM
To: mcongrove/ChariTi <[email protected]mailto:[email protected]>
Cc: Dusty Countryman <[email protected]mailto:[email protected]>
Subject: Re: [ChariTi] Add BadgeCount to tabs/side menu (#195)

Unfortunately, for better control, we used all custom components, so we're not using an actual tab bar; therefore, badgeCount isn't a property. It would have to be done as a custom image/label that is added to the tab bar.

I'll bump this up to the 1.2.1 release and try to get it done for you ASAP.

Reply to this email directly or view it on GitHubhttps://github.com//issues/195#issuecomment-28440232.

Reply to this email directly or view it on GitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants