How to Receive Push Notifications from Ayran

This post is now obsolete. Please check my iOS Projects page or my most recent posts for information on the current state of Ayran.

You can now configure Ayran to send you a push notification whenever a new article is posted to the METU-CENG news server. You can choose newsgroups for which you want to be notified of new messages, and even control the frequency of notifications. For example, if you don’t want to be overwhelmed with notifications for popular groups like ‘test’ or ‘news’, you can set a limit (1/hour, 1/day, etc), and if you want to be notified the minute a new homework is posted on a course group like 140 or 213, you may choose Unlimited.

How?

Before starting receiving push notifications, you must configure Ayran to do so. It is a very simple process, which can be done less than a minute.

Allow Ayran to Send You Push Notifications

 

 

When you first launch Ayran, you will see a popup, asking for your permission to send you push notifications. You should tap on “OK” to confirm.

Login

Enter your COW username and password to login to the CENG news server. Ayran will remember your credentials -unless you don’t want it to- so that you will be logged in automatically next time you launch Ayran.

Open Settings

In the main menu, tap on the little gear icon in the top right corner of the screen. This will open the settings menu.

Configure Push Notifications

This is where it gets interesting. You will notice a red, glowing button in the middle that says “Configure push notifications”. Tap on it to see your push notification preferences.

In this screen, you will see a list of available newsgroups on the server, with the word “Never” next to each newsgroup. “Never” implies you don’t want to receive push notifications regarding that newsgroup. Scroll down to find your favorite newsgroup and tap on its name.

Using this small menu, you can choose how often you wish to receive push notifications regarding this newsgroup. You have 5 options: Never, 1/10 minutes, 1/hour, 1/day and Unlimited. If you choose Unlimited, you will be notified of every new article in that newsgroup. On the other hand, choosing 1/hour will cause you to receive at most 1 notification in an hour. If you want to turn off push notifications completely, you can go to the Settings app on your device and configure Ayran to not send you push notifications, instead of going through the list of all newsgroups one by one and mark it as Never. You can undo this action later, and Ayran will remember your preferences. Remember, though, that if you log out from Ayran, your preferences will be reset and if you wish to continue receiving notifications, you will have to do the configuration again.

Beta Testing

Ayran is a project of mine that I work on when I have free time. As of today, I would call the code alpha quality. So, expect to see some bugs. If anyone is willing to help me in beta testing, I might consider uploading Ayran to TestFlight for you to download, test and give me feedback. Just drop me an email or leave a comment under this post if you’re interested.

Happy Happy Joy Joy.