Android AND iOS notification on existing webview Android + iOS app
- or -
Post a project like this- Posted:
- Proposals: 7
- Remote
- #1412618
- Awarded
Description
Kind of development: Customization of existing app
Description of every page/module: Existing webview app is a port from www.prayertents.com
(now available on both Apple Store and Google Play - "Prayer Tents")
The only lacking function is the ability to notify users.
One of the core function of the website is the ability for two users to chat. One user can request chat to someone in their proximity. All functions to determine who is in proximity, and who has accepted chat are all currently performed on server-side. HOWEVER, when mobile app users put their mobile devices on standby, the users cannot be notified when
1. someone is requesting to chat with them and
2. someone sends a new message
The requirement is to implement those two notifications in both Android and iOS:
==========================
What you have to do:
1. read cookies from webview
2. connect to mysql database and read/execute sql commands (I will provide)
3. interval polling to check mysql database
4. provide push notification based on results of sql query (will provide details)
5. Run this piece as a service so that it begins with the device at start up ... and continually check for new messages or requests without this app specifically running.
=================
Details:
1. When someone requests chat, mysql database is updated markting X number of "registered" people to request chat.
- you do not need to worry about the algorithm to determine proximity, etc. All you care about is the return from the mysql query that lists let's say 10 usernames.
- the notification will go to those 10 people
- The notification will wake up devices on standby AND it will include an accept/reject option.
- The user response will then run an sql statement on database (to update who has accepted), then simply open the app. (from there, the app will handle everything again from the server-side)
2. When someone send a new chat message, it is stored in a mysql database.
- you just need to pick up the current user's login id OR cookiename (for those that have not logged in) THEN run sql query to see if any new messages have come in. (I will provide SQL statement)
- interval polling technique shall be used (see below) to read the database for new messages.
- only show notification if user is currently not using the app (because if user is in app, s/he would already see the messages)
===============
Interval polling
every 1 second for three times -- if no new activity
every 2 seconds for 7 times -- if no new activity
every 5 seconds for 10 times -- if no new activity
every 15 seconds continually
If any activity, restart at every 1 second.
=============
I will provide:
1. existing iOS and Android code
2. SQL codes
You will provide
- updated Android/iOS code that is acceptable in Apple Store and Google Play
- your payment will be provided for each platform (Android first, then iOS) once tested and uploaded/accepted by Google/Apple for public use.
Description of requirements/features: Goal: Enable two kinds of notifications to occur by reading mysql database and cookies from existing webview code.
===========
Requirements
1. Do not recommend to build the entire app from scratch
2. You must be able to handle both Android AND iOS (I prefer to share the same concept design by one person/team as opposed to going back and forth depending on variations).
3. Android code will be done first, then iOS
Sang S.
99% (62)New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi Sang,
Thanks for the invite.
Is your budget flexible?
Regards,
Jainam -
Hi Sang...We will start with fixing the Android first and then IOS and Update a new version for the app on both store once finish with job.
Please revert back ,so we can proceed.Sang S.09 Jan 2017Yes, please review requirements above
Infodart T.11 Jan 2017Please provide Code... The requiremet is to make a chat application... We will have to check how much work has been done and how much is pending... so that we can make further estimate??
-
Hi Sang,
Thanks for the Invitation.
However, let me know if you will provide us web-services and source code to work on your application?
Thanks.Sang S.09 Jan 2017Yes, I will register to Google's FCM and equivalent for Apple and provide that access. Also, source code for iOS and Android will be provided for the developer to modify to make notifications work.
Ways and Means Technology P.09 Jan 2017Thanks for the response Sang.
However, let me know if you are little bit flexible with your budget as it is quite lower side.
Looking forward to your reply
Best Regards,
Gunjan