Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devrnt/movie-catalog
🎬 A movie catalog app for both Android & IOS ~ Flutter.io project in Dart | Dart, Bloc, Movies
https://github.com/devrnt/movie-catalog
bloc blocpattern flutter flutter-app flutter-apps mobile streams yify yify-torrents yts yts-movie yts-torrent
Last synced: 16 days ago
JSON representation
🎬 A movie catalog app for both Android & IOS ~ Flutter.io project in Dart | Dart, Bloc, Movies
- Host: GitHub
- URL: https://github.com/devrnt/movie-catalog
- Owner: devrnt
- Created: 2018-08-06T20:03:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-25T13:45:42.000Z (about 4 years ago)
- Last Synced: 2024-10-11T13:15:50.501Z (about 1 month ago)
- Topics: bloc, blocpattern, flutter, flutter-app, flutter-apps, mobile, streams, yify, yify-torrents, yts, yts-movie, yts-torrent
- Language: Dart
- Homepage:
- Size: 2.73 MB
- Stars: 52
- Watchers: 2
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Movie Catalog App
🎬 Browse through movies from the YIFY api
## Getting Started
For help getting started with Flutter, view our online
[documentation](https://flutter.dev/).## Todo
* VPN Support
* Refactor bloc patterns and services
* Add tests### Done this version
* ...## Building
Create a `keys.dart` file in the `lib/config/` folder and add the following code snippet in the `keys.dart`:```dart
class Keys {
static String admobAppId = 'your admob app id';
static String addUnitId = 'your admob add unit id';
static String theMovieDb = 'your https://www.themoviedb.org api key';
static String sentryDsn = 'your sentry Dsn';
}
```
### Apk
To build the **free** version:
```console
flutter build apk --release --flavor free -t lib/main.dart
```To build the **pro** version
```
flutter build apk --release --flavor pro -t lib/main_pro.dart
```**Explanation:** The `flavor` option makes sure that in Android the `build.gradle` is using the right build flavors (including different applicationId).
The `target` option (-t) makes sure we can use the different flavors in the dart code.**VSCode:** Go to the debug tab (ctrl + shift + D) and select on top the debug configuration and there will be 2 available options: `Flutter Free` and `Flutter Pro`.
These configurations will build the app with the commands given above.### App bundles (preferred)
To build the **free** version:
```console
flutter build appbundle --flavor free -t lib/main.dart
```To build the **pro** version
```
flutter build appbundle --flavor pro -t lib/main_pro.dart
```## Developping
Don't hesitate to fork this repository and if you are having any questions please contact me.## Play Store
### Free
[https://play.google.com/store/apps/details?id=com.devrnt.moviecatalog](https://play.google.com/store/apps/details?id=com.devrnt.moviecatalog)
### Pro
[https://play.google.com/store/apps/details?id=com.devrnt.moviecatalog.pro](https://play.google.com/store/apps/details?id=com.devrnt.moviecatalog.pro)