iSupplement v2.0 Submitted to the App Store

I just finally finished implementing local push notification and some various bug fixes. The hardest part of adding Local Push Notification is the fact that there just aren’t any helpful guides besides Apples documentation. The most challenging aspect of adding in the local notification was making sure notifications were removed that were no longer needed. For example lets say that someone hits Take a Dose! and then hits it again, well following my original implementation this caused 2 notifications to be scheduled just seconds after each other, which is just plain annoying. When you undo a dose the notification would still remain or I would have to clear all of the local notifications and have the user go into the detail screen for each supplement to re-establish the notification. I finally came up with a solution which was actually quite simple. I decided to grab a unique value from the notification which is the localNotif.userInfo attribute, which is a NSDictionary. After establishing this anytime a change is made to scheduled notifications, the app checks for a previous notification for this particular supplement and kills it then schedules the new notification. When you undo a dose, the notification resorts to the previous value. Another feature I have added is the Date picker wheel. Instead of NOW being the only time you can take your supplements, you now have a wheel to enter when you took the supplement, of course the wheel defaults to now but you can adjust it to whatever you want. I also fixed a few bugs, 1 was with my stop light system for quickly checking what supps are coming up soon. It seems that sometimes the light would stay red instead of going green that has been fixed. Another bug I found was when you take the first dose of the day, the “Today’s doses” value would start at 0 instead of incrementing. I fixed this bug as well. Hopefully Apple will be speedy in approving my first major update for iSupplement and thank you everyone for all of your support!

Related posts:

  1. iSupplement Now Available in the App Store
  2. iSupplement 2.0 Under Development
  3. iSupplement List of New Features for Update
  4. Newest App Submitted to the iTunes Store
  5. iSupplement v2

Leave a Reply

You must be logged in to post a comment.