Hello there,
I'm building my own Mobile App for Moodle as a Final Course Project I must do. It's being built for Android at first and I'm using Moodle Webservices for communication.
I'm stuck with the AirNotifier for the push messages over the GCM. I will list the steps I followed at the creation:
- Created my own AirNotifier server, running on port 8801.
- Generated my application at AirNotifier, named moodle (short unique name) and moodleinatel (full name).
- Created a new project at Google and put its number at AirNotifier Project.
- Generated a new API Key at Google, and put it at AirNotifier Project.
- Saved the changes.
- At AirNotifier, I genereated an Access Key, with the following permissions:
- Send broadcast
- Create access key
- Send notification
- Create token
- Delete token
- In my Moodle, I updated the Mobile Notifications seetings as the below:
- I configured also, in Moodle, all the types of messages I wanted to go as Mobile too (and not just as e-mail).
- In my application, I coded a GCM Listener, to receive the notifications. The broadcast function of Airnotifier works, but.. I can't get any message from moodle.
Any clues?
Thanks!
Douglas