Bizangel / NativeBizaDex

Simple offline straight to the point Pokedex Android Mobile App written in React Native.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NativeBizaDex

This is yet another Pokedex Android Mobile App. However I wanted to make this one open source and "generic" where you can use any datasource as long as it matches the expected JSON format. The data currently is scraped from a mix of https://pokemon.com pokedex and https://pokemondb.net. There are bunch of pokedex apps but they're mostly plagued by ads or the open source ones are very outdated, so I decided to create this.

Also it was a great learning exercise to try out and learn some React Native, and I'm quite happy with how it turned out.

Images

Clean Minimalistic Interface Contains Base Stats, Types, Description, Evolution Tree, and more
Supports Filtering (and searching/sorting) Can Keep Track of Caught Pokemon + Switch Generational Pokedex

Building

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Generate/fetch PokeData Required

# using npm
npm run datagen
npm run imagegen

Ensure the datagen runs without errors before running the imagegen! The datagen may fail sometimes as it has to fetch a lot of data from different pages. It will cache the previous ones. So if it fails just run multiple times until it finishes successfully.

Step 1: Start the Metro Server

First, you will need to start Metro, the JavaScript bundler that ships with React Native.

To start Metro, run the following command from the root of your React Native project:

# using npm
npm start

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

Step 2: For Android

# using npm
npm run android

Outputs

To install production apk directly to device:

npm run android_production_install

To compile production apk:

npm run build:android

License

I'm releasing this on MIT license. Feel free to use it in whichever way you like, suggest improvements, or fork freely.

About

Simple offline straight to the point Pokedex Android Mobile App written in React Native.

License:MIT License


Languages

Language:TypeScript 95.6%Language:Java 3.8%Language:JavaScript 0.6%