Skip to content

KiranCNayak/rn_app_03_wallpaper_app

Repository files navigation

Wallpaper App by KCN

Mockup images

Features included in this app

Running the app in debug mode

  1. Clone the repo

  2. Get your own API Key from Pexels API page.

  3. Put this key in a .env file in the root of the project (For clarity: it should be placed in the same directory along side .eslintrc.js and .prettierrc.js files). It should be named as follows:

    PEXELS_API_KEY = YOUR_ACTUAL_KEY_FROM_PEXELS_API; // Replace your API Key here. NO need to add quotes. Also don't add space between equal sign (=), Key and Value.
  4. yarn && yarn start
  5. Connect your Android device to your machine and make sure Developer Options is enabled.

  6. Also make sure you have adb installed. See a Youtube video on how to install it, if you don't know how to.

  7. In another window of terminal, navigate to the root of the project and run

    cd android && ./gradlew installDebug && cd ..
  8. After the app installs on your phone, run the below command to connect your app running on the phone to debugger on your terminal.

    adb reverse tcp:8081 tcp:8081

    NOTE: This must be done each time you physically remove your phone's connection to your machine.

Screenshots of the app

  1. Home page

  1. Category page - Items are rendered using a two column FlatList

  1. Image Display page - User can download the image by clicking on the download button

  1. Alert on successfully downloading the image

  1. Search capability on Home page (Here the user has searched for "Bengaluru")

  1. Search successfully renders itself as a Category

  1. Once the user reaches the end of the list, an alert is shown for the same. The exact line in code can be seen here


Using ProGuard has decreased the App size by more than 7.5MB. The exact line in code can be seen here

Without ProGuard


With ProGuard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published