Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iagoantunes/flashlight
This is a flashlight app that, in addition to turning on the phone's flashlight when touching the screen, will also light up when the movement of shaking the phone is verified.
https://github.com/iagoantunes/flashlight
react-native
Last synced: about 5 hours ago
JSON representation
This is a flashlight app that, in addition to turning on the phone's flashlight when touching the screen, will also light up when the movement of shaking the phone is verified.
- Host: GitHub
- URL: https://github.com/iagoantunes/flashlight
- Owner: IagoAntunes
- Created: 2022-08-02T01:43:44.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-02T16:19:30.000Z (over 2 years ago)
- Last Synced: 2023-03-06T04:12:43.536Z (over 1 year ago)
- Topics: react-native
- Language: JavaScript
- Homepage:
- Size: 354 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dio-flashlight
Desafio dio: Construindo um app usando o sensor de movimento com React Native
![image](https://user-images.githubusercontent.com/28990749/165650549-07daaabe-15fa-432e-9146-71bae90e43b0.png)
![image](https://user-images.githubusercontent.com/28990749/165650568-afdd77ea-fa79-488c-ac0b-13c9ecce847c.png)
## Conteúdo
- Libs react-native-shake e react-native-torch
- icons: https://drive.google.com/drive/folders/1aDTyA09EFjFvqmXqkDKLoMhFx65QQExQ
- StyleSheet
- Hook useState
- Hook useEffect
- Add Listener to RNShake
- Lifecicly ReactJS