News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.
Switch branches/tags
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Changes for android, firebase animated list Dec 19, 2017
LogoDesigns Add files via upload May 8, 2018
android Design changes and android fixes Dec 20, 2017
ios Issue #2 fixes Jan 16, 2018
lib Firebase auth changes for iOS Jan 15, 2018
screenshots Changed layout and screenshot updated Dec 20, 2017
test Changed layout Dec 19, 2017
.gitignore Firebase auth changes for iOS Jan 15, 2018
LICENSE Add LICENSE Jan 25, 2018
README.md Add license in README Jan 25, 2018
_config.yml Set theme jekyll-theme-cayman Jun 16, 2018
android.iml first commit Aug 31, 2017
newsapp.iml first commit Aug 31, 2017
newsapp_android.iml first commit Aug 31, 2017
pubspec.yaml Issue #2 fixes Jan 16, 2018

README.md

News Buzz

News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.

Features

  • Custom news feed based on selected sources
  • Saving articles
  • Explore news based on categories
  • Search for topics
  • Sharing articles

Preview

ios-demo

Dependencies

Getting Started

1. Setup Flutter

2. Clone the repo

$ git clone https://github.com/theankurkedia/newsbuzz.git
$ cd newsbuzz/

3. Setup firebase app

  1. You'll need to create a Firebase instance. Follow the instructions at https://console.firebase.google.com.
  2. Once your Firebase instance is created, you'll need to enable anonymous authentication.
  • Go to the Firebase Console for your new instance.
  • Click "Authentication" in the left-hand menu
  • Click the "sign-in method" tab
  • Click "Google" and enable it
  1. (skip if not running on Android)
  • Create an app within your Firebase instance for Android, with package name com.yourcompany.news
  • Run the following command to get your SHA-1 key:
keytool -exportcert -list -v \
-alias androiddebugkey -keystore ~/.android/debug.keystore
  • In the Firebase console, in the settings of your Android app, add your SHA-1 key by clicking "Add Fingerprint".
  • Follow instructions to download google-services.json
  • place google-services.json into newsbuzz/android/app/.
  1. (skip if not running on iOS)
  • Create an app within your Firebase instance for iOS, with package name com.yourcompany.news
  • Follow instructions to download GoogleService-Info.plist, and place it into newsbuzz/ios/Runner in XCode
  • Open newsbuzz/ios/Runner/Info.plist. Locate the CFBundleURLSchemes key. The second item in the array value of this key is specific to the Firebase instance. Replace it with the value for REVERSED_CLIENT_ID from GoogleService-Info.plist

4. Run the app

$ flutter run

License

Licensed under the MIT license.