Mobile web mechanism that determines user leaving web page or locking screen

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la entrega

** This job is about designing a mechanism to solve a single technical problem, not developing an entire app. Please read the spec below carefully.**

I'm working on a project that will mainly run in mobile browsers. I want to detect whether a user leaves the web page (i.e. go back to home screen, switch to other apps or switch to another browser tab). The problem is that I cannot find a way to distinguish whether the user is locking the phone screen or leaving the browser app (e.g. the [login to view URL] event has the same behavior in both cases). I'm looking for an experienced web/mobile developer who can find a way to solve this problem.

## Spec

Extracted project code is available in the attachments ([login to view URL]).

Please edit `[login to view URL]` so the behaviors would match the following cases (you should refresh the webpage before each case to go back to the initial state where the background is green):

1) Lock the screen, wait for 1 minute then unlocks the screen, the background color of the web page should stay green.

2) Leave the browser app, wait for 10 seconds then opens the browser app again. The background color of the web page should be changed to red.

3) Switch to another app directly (leaving the browser app), wait for 10 seconds then opens the browser app again. The background color of the web page should be changed to red.

4) Switch to another browser tab (not leaving the browser app), wait for 10 seconds then opens the browser app again. The background color of the web page should be changed to red.

Please run your prototype on real devices and make sure it works both in the built-in browsers of Android and iOS platform. Then send the demo video to me after applying for this job.

## Payment

As mentioned in the above section, once your proposal is accepted, please submit a demo video of your prototype. If that works well, please hand in the code of the prototype and once I have my in-house developers verify it, you will get paid 100%.

Your implementation MUST pass ALL test cases mentioned above in order to get paid.

## Requirements

- System requirements:

Your solution should work on (including but not limited to) Android 5.0+ and iOS 10.0+ devices.

- Browsers:

Android built-in browser. iOS Safari app.

- Other requirements:

The solution should not incur a huge network/CPU/power consumption. It's okay if the solution needs to do things like playing silent audio, obtaining Geo location though.

HTML5 JavaScript Desarrollo de apps móviles Web Development

Nº del proyecto: #17605732

Sobre el proyecto

13 propuestas Proyecto remoto Activo hace 5 años

13 freelancers están ofertando un promedio de $868 por este trabajo

kodecubeinfosys

Hi Sir, I have been creating high quality and excellent mobile applications in the past 5 years. I learned various mobile development frameworks, seasoned with experience and in depth knowledge of the mobile Más

$800 USD en 15 días
(71 comentarios)
7.1
sumeet3885

My motto is to provide high quality work and client satisfaction delivered before your deadline. Android | iPad | iPhone | Laraval I React Native I Hybrid app I Bitcoin | E-Commerce | Cryptocurrencies I PHP5 | Magento Más

$888 USD en 10 días
(18 comentarios)
5.7
humrobo

Hi, Hope you doing well sir i read your message in given below i make sure you that i can help you to build Mobile web mechanism that determines user leaving web page or locking screen as better as per your given Más

$888 USD en 10 días
(12 comentarios)
3.8
priyakanjiya9

Hello, I am expert in website development as well as mobile application development.I have more than 7 years of experience. I have highly skilled professionals who can help you in the best way possible. I read th Más

$888 USD en 10 días
(2 comentarios)
2.5
manumcnook

Hello there! I can develop this feature(that will answer to all your mentioned cases and will not even bother the cpu ) today. And i can finish it in a few hours.

$800 USD en 1 día
(1 comentario)
1.1
gurusha01

Hello I have gone through your description. Thanks for sharing me details. Please provide me further chance to discuss with you. looking forward to your valuable response. Awaiting for your affirmation response Más

$800 USD en 2 días
(1 comentario)
0.0
AkashW

Hello chief, Greetings of the day, I would like to inform you that, I have experience with Android SDK, different versions of Android, and how to deal with different screen sizes. I am very good understanding Más

$888 USD en 10 días
(2 comentarios)
0.0
micromanagement

have 5 years of experience in the mobile application ( iPhone / iPad ) and App admin development. I have developed the TAXI apps, google map, Event App, Jab Postal App, Restaurant App, Dating App and other apps with cl Más

$888 USD en 10 días
(0 comentarios)
1.4