- Infelizmente a lib utilizada para executar tarefas em segundo plano não dá suporte corretamente ao IOS (Não conseguir conclui essa parte do desafio)
You can start the RN-Geolocation Challenge right now! Just clone the repo and build a List/Detail app with ReactNative and Redux and Geolocation.
You can fetch data from google books API, ex:
https://www.googleapis.com/books/v1/volumes?q=SEARCH_TERM
The design is available Here
On the List screen the user should be able to:
- See a list of items.
- Pull to refresh the list(refetch).
- Scroll down and load more books.
- Search(filter) for books
- Press one of the items and navigate the user to the Detail screen.
On the Detail screen the user should be able to:
- See more information about the selected book.
- Be able to Like, Rate and a Buy a book(no need for API calls, just Frontend).
Your challenge is to show a notification based on a geo-fence related to a bookstore location.
Bookstore addresses:
- name: Livraria Cultura, address: Av. Paulista, 2073
- name: Livraria Saraiva, address: R. Maestro Cardim, 1947
Fence Radius: 400 meters
- When the cellphone enters the geo-fence, the app needs to show a notification "Buy your favorite books now, {bookstore_name} is near here"
- When the cellphone leaves the area, the notification needs to dissapear.