Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registrar Localização #12

Open
Abreums opened this issue Aug 20, 2020 · 1 comment
Open

Registrar Localização #12

Abreums opened this issue Aug 20, 2020 · 1 comment
Assignees

Comments

@Abreums
Copy link
Contributor

Abreums commented Aug 20, 2020

Como usuário desejo registrar minha localização utilizando as informações do GPS do meu dispositivo.
Além dos dados do GPS o timestamp deverá ser armazenado.
Avaliar utilizar indexedDB para armazenamento de informações:
https://developer.mozilla.org/pt-BR/docs/Web/API/IndexedDB_API/Usando_IndexedDB
Obs.: o uso do IndexedDB limita o uso do aplicativo apenas para dispositivos com navegadores com suporte a HTML5.
Ver tabela de compatibilidade:
http://mobilehtml5.org/index0713.html
Atenção IndexedDB apenas para Android 4.0+
Testador de HTML5: https://html5test.com/

@Abreums Abreums assigned Abreums and unassigned Abreums Sep 1, 2020
@Abreums Abreums closed this as completed Sep 1, 2020
@Abreums Abreums reopened this Sep 1, 2020
@Abreums
Copy link
Contributor Author

Abreums commented Sep 9, 2020

O serviço está disponível como:

POST https://hxf2nx257b.execute-api.sa-east-1.amazonaws.com/prod/checkpoint

com header:
"Content-Type":"application/json""

e body em JSON:
{
"id":"12345",
"latitude":"-33.1234",
"longitude":"-32.1234",
"timestamp":"1234567890"
}

@adaolima adaolima self-assigned this Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants