@JBlanks – The app won’t get approved if I link to the forums. It got rejected before for linking to the dashboard page to get an API key, because themeforest is potentially a website in which you can spend money. Which is agains the rules of the app store.
@LumenMedia – I’m still considering it. The problem is that I can’t publish paid apps from my country and I will have to count on ads for revenue, which is not desirable. If I can figure out the business model for Android, I will port it.
@bilbo_b – I can’t say yet, it depends if I decide to support iOS 6, or only iOS 7. It’s not going to be within the next month or so, that’s for sure.
The first version of GreenPaw has been quite successful so far, so I decided to shelf it and start over. This is just a sneak peak of what you can expect from the next version of GreenPaw:
- thin fonts
- push notifications – not just for sales, but for everything – comments, ratings, paws and more
- tons of more statistics
- tons of new features
- horrible iOS 7 style icon
- super mega fast load – for my account it takes less than 3 seconds to load all the data. It used to take about 20 seconds including fetching new comments, 30 seconds if we include the checking for new ratings. Now it all happens 10x faster.
- all-new bugs and more crashes
- just kidding, it should be much less buggy, since everything happens on a server and the app just displays the data
That’s all I have for now. This app can be so much better than it is now (and it’s pretty awesome right now). Make sure you stay up to date, winter is coming.
^ Really nice avatar!!! What version of photoshop?
If you are serious about your business, both hands for media temple, or if you know a little bit of linux – linode.com.
I knew nothing about linux, but linode’s documentation is the most amazing thing ever. Installing linux is one click thing, and in 10 minutes you setup your security and install a web server stack – php, apache, mysql and phpmyadmin if you want to. The good thing about linode or VPS hosting in general, is that I can setup a billion domains or subdomains on my server if I wanted to, run background scripts and pretty much do whatever the hell I want to do with my server $20/month, worth every cent.
First of all, let me say you did a really good job here. I read the whole thread and honestly I never thought providing push notifications would have been such a pain, but it looks like no-one here is considering that there is already at least one app from another author (Tabvn) that does it pretty good (5-15 mins delay). Now I really wonder how he’s doin it…don’t you?
I would absolutely love to know how he does it!
I think you are trying to do it the wrong way.
1. There is a limit of around 100 calls/hour/user (unless envato grants you some kind of special permission), you must find a way to call it from the user side, if that’s not possible, you will definitely get a permission.
2. Assuming that you are getting a permission, there is absolutely no need to make the API calls every 5 minutes, that means that an author with decent sale will have his phone vibrating and ring each 5 minutes which is not the main purpose in my opinion. For example my Application calls every 30 minutes, which is a decent time to check for new sales.
3. Regarding the comments notifications, you simply have to compare the last-time stamp (or unique id) between the requests, you could simply check them once every hour, because while on the-go you just need to get notified from time to time, not a phone that rings like hell.
4. Ratings. You could check once per day for rating changes, why would you check for rating changes each 5 minute? For me it doesn’t make sense.
Also quoting:So that’s 500 API calls every 5 minutes (for 100 users)
Sorry but that’s 100 API calls every 5 minutes, not 500 calls – that being said, your stats is actually 1/5 from what you wrote if you’ve calculated with 500.
Secondly, using my suggestion you will get the following: Check for new sales every 30 minutes: 200 calls vs 1200 (not 6000 as you said).
You must think for large-scale usage, otherwise Envato’s API will get flooded with useless queries.I hope this helps.
It does help, yes!
Btw, doing it on the user end is impossible if the app isn’t running. And if the app is running, you don’t need push notifications
Also I noticed that this limit is bound to an API key. For example I can make 100 calls with one API key, then 100 more with another and so on.