Skip to content

adescode/foxtrailer

Repository files navigation

FoxTrailer

The easiest and fastest way to find and discover movies and tv shows on your device. You can view trending movie, download wallpapers, watch latest movie trailer.

FoxTrailer-screenshots

Download Foxtrailer

What's included

Name Description
React Native Build Native Mobile Apps using JavaScript and React.
React Native Router Flux define all the routes in one central place
Redux Predictable state container for JavaScript apps.
Redux Thunk Thunk middleware for Redux
ESLint The pluggable linting utility for JavaScript and JSX
Firebase Google Analytics and Google Cloud Messaging
CodePush Enables developers to deploy mobile app updates directly to their users' devices.

Requirements

Installation

Clone this repo

$ git clone https://github.com/adescode/foxtrailer.git
$ cd foxtrailer
$ yarn install

Create .env file in your root directory and add the following

TMDB_URL=https://api.themoviedb.org/3
TMDB_IMG_URL=https://image.tmdb.org/t/p
TMDB_API_KEY=your_tmdb_api_key_here

YOUTUBE_URL=https://www.googleapis.com/youtube/v3/videos
YOUTUBE_API_KEY=your_youtube_api_key_here

Get api key - TMDB - Youtube

How to start

$ react-native run-android

or

$ react-native run-ios

Extra

React-native >= 0.60 now auto link modules, but some modules require some manual additions for it to function properly, Modules like

General

Default image might not work on android debug version, but it works on ios.

TODO

  • Add splash screen and Icon to Android.
  • Add Image gallery.
  • Implement fast image loader(Implemented still not fast enough).
  • Add download button and function to image gallery.
  • Publish to Google playstore.
  • Implement Firebase Analytics.
  • Implement Firebase messaging(push notification).
  • Implement functional share button.
  • Implement deep linking.
  • Add code push.
  • Allow Android back button in some other screens.
  • Add splash screen and Icon to iOS.
  • Add Search feature(Movie and tv show).
  • Remove inline style.
  • Clean up the entire code.
  • Image download on ios not working.

ISSUES

  • Proguard app shrinking giving networking error after build. App size can still be less than 10mb if code is well minified.
  • Higher increase in change of version code on play store.

License

Copyright (c) 2019-present Adelaja Ibrahim. All rights reserved.

The code, design and articles in this repository are intellectual property of the person whose name is mentioned above (unless otherwise stated) and as such CANNOT be copied, modified, sublicensed or redistributed without permission from the author.