osamhack2020 / app_kookmobanuser_ponjohmnaimann Goto Github PK
View Code? Open in Web Editor NEWUntact Phone Return Service For ROK Military
Home Page: https://osam.riyenas.dev/
License: BSD 3-Clause "New" or "Revised" License
Untact Phone Return Service For ROK Military
Home Page: https://osam.riyenas.dev/
License: BSD 3-Clause "New" or "Revised" License
첫 로그인 후 뒤로가기를 눌렀을 때 재로그인이 가능해지기 때문에, 이를 막아주는 기능을 구현
어플 레이아웃 디자인
QR코드 인식시 deviceID가 null로 받아지는 오류 수정
{
"deviceId": 5,
"adminId": 1,
"seed": "0307347589883816729709603542001989186306"
}
QR코드 이미지를 생성할 때, 흰 블럭의 경우 rgb값 중 r값이 0이 되도록, 검은 블럭의 경우 rgb값 중 r 값이 255가 되도록 변환한다.
그리고 g, b 값은 0~255 중 아무 값이나 부여한다 (인식에는 영향을 미치지 않는 Noise)
즉 빨간 선글라스를 쓰면 QR코드의 형태를 알아볼 수 있는 상태가 된다.
참조:
https://www.notion.so/QR-dece65aaab8241cb9c8b392a45d1d886
휴대폰에서 휴대폰 정보를 자동으로 불러온다.
첫 로그인시 병사가 입력한 정보를 저장하고, 다음 앱 실행부터 저장된 데이터를 이용
시드값과 시간값을 이용해 TOTP값을 생성하고, 생성된 값을 이용하여 암호화된 QR코드 생성
원인 : 서버로부터 response를 받는 시간이 걸리기 때문인 것으로 파악됨
해결 방안 : alertDialog를 띄워 로그인이 완료될 때까지 잠시 대기하는 방법으로 해결하려고 함
@Jinwhuy 기존 방식에서 adminId만 추가해주시면 됩니다~
특정 상황(QR코드 액티비티에서 뒤로가기 버튼을 눌러 LoggedInActivity로 간 경우)에서 BackButton을 눌러도 앱이 종료되지 않는 오류 수정
Volley를 이용하여 서버와 데이터 주고받기 기능 구현
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.