Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter flutter logo news api buzz

news app created in flutter using news api for fetching real-time 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

firebase news api reader app

dependencies

getting started

1. setup flutter

2. download the repo

$ 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

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.