This is part of a bigger project, I have a server that holds all the app data and messages. I have one app for android and one for ios, these apps only display the data stored on the server. The android app is already implemented, and the winner will be allowed to look at the source code if that will help them
implement the iOs app.
I want you to create a messaging module for iOs, in addition to suggesting changes to the server necessary to support your module. You should also help me integrate the module into my app.
The module should do the following:
1. Communicate with the server to check for new messages
i.e. GET /messages/count-undread will return an integer value, number of messages not yet read
2. When multiple new messages exist, add a notification to the notification bar on iOs ,
e.g "Received X new messages"
2a. If there is only one new message, fetch the last message from server, and display sender and
a summary of the content in the notification. E.g. "Received new message from X: Hello, this...".
3. When this notification is clicked it should launch the app with an argument, VIEW_MESSAGES
This may be more efficient using push notifications or similar, I would like you to look into this, and suggest a good solution. I also want your advice with regards to modifications to the server if necessary.
[url removed, login to view] requirements notice: As originally posted, this project does not have complete details. Should a dispute arise and this project go into arbitration "as is", the contract's vagueness might cause it to be interpreted against you, even though you were acting in good-faith. So for your protection, if you are interested in this project, please work-out and document the requirements onsite.