https://github.com/xpd54/ydentity
https://github.com/xpd54/ydentity
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xpd54/ydentity
- Owner: xpd54
- Created: 2023-05-07T15:13:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-07T16:03:57.000Z (over 2 years ago)
- Last Synced: 2023-08-13T15:12:13.565Z (over 2 years ago)
- Language: JavaScript
- Size: 828 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ydentity
This app is built with react-native and developer didn't got much time to finalize into production
version so it have to be run inside [ExpoGo](https://expo.dev/client) please install this.
Steps to run after cloning the repo
1. npm install
2. npm start
3. Make sure [ydentityServer](https://github.com/xpd54/ydentityServer) already up and running
4. scan the QR code from your phone camera
5. You should see one service there (Google)
What can go wrong so far and how to fix it
1. If you are seeing something is wrong it means the local server is not reachable.
2. [useFetch.js](https://github.com/xpd54/ydentity/blob/main/hooks/useFetch.js) and [addService.js](https://github.com/xpd54/ydentity/blob/main/hooks/addService.js) address may not match with your local network. Please check your local and IP and replace here. (localhost doesn't work with react-native for some reason)
How to add more QR code to scan with + button
1. pip3 install qrcode
2. qr "otpauth://totp/fire@google.com?secret=JBSWY3DPEHPSFWE&issuer=Firebase&logo=https://cdn4.iconfinder.com/data/icons/google-i-o-2016/512/google_firebase-2-1024.png"
3. ToTp QR code have value formate like mentioned in 2
4. code with change after 1 min
5. Can change qr values in same way and it should work for other QR as well.


