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

Overview

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.

Comments
  • logo/icon proposal

    logo/icon proposal

    Hi good day! Im Jibbie Eguna, a graphics designer, I would like to ask for your permission to propose a new designs of logo in your application/project. I would like to help projects in open-source .I would just like to propose new designs. Hoping for your positive response Thank You!

    opened by jbeguna04 7
  • Multiple dex files define Lcom/google/android/gms/common/internal/zzbb

    Multiple dex files define Lcom/google/android/gms/common/internal/zzbb

    Launching lib\main.dart on MI 6 in debug mode... Initializing gradle... Resolving dependencies... Running 'gradlew assembleDebug'...

    FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':app:transformClassesWithDexForDebug'.

    com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/internal/zzbb;

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Finished with error: Gradle build failed: 1
    opened by peace2knowledge 6
  • Built  cant compelete,

    Built cant compelete,

    Launching lib\main.dart on MI 6 in debug mode... Initializing gradle... Resolving dependencies... Running 'gradlew assembleDebug'... Built build\app\outputs\apk\app-debug.apk (24.6MB).

    @theankurkedia I want to install newsbuzz on my phone, and review code. but always can't complete

    opened by peace2knowledge 2
  • fails to start ios sim

    fails to start ios sim

    Setup a firebase instance and the settings, but cant seem to kick it off....

    
    Launching lib/main.dart on iPhone 8 in debug mode...
    Running pod install...
    Running Xcode build...
    [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
    [Firebase/Analytics][I-ACS023007] Firebase Analytics v.40005000 started
    [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
    Syncing files to device iPhone 8...
    *** First throw call stack:
    (
    	0   CoreFoundation                      0x000000010a0bf12b __exceptionPreprocess + 171
    	1   libobjc.A.dylib                     0x0000000109753f41 objc_exception_throw + 48
    	2   CoreFoundation                      0x000000010a134245 +[NSException raise:format:] + 197
    	3   Runner                              0x0000000106108d54 -[GIDSignIn signInWithOptions:] + 242
    	4   Runner                              0x0000000106105740 -[GIDSignIn signIn] + 64
    	5   Runner                              0x0000000105f521d5 -[GoogleSignInPlugin handleMethodCall:result:] + 1461
    	6   Flutter                             0x000000010731b020 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 118
    	7   Flutter                             0x000000010732f939 _ZN5shell15<…>
    Lost connection to device.
    
    
    opened by ghost 1
  • desc.

    desc.

    C:\Users\lubia\Documents\newsbuzz>flutter pub get The current Dart SDK version is 2.10.5.

    Because NewsBuzz depends on firebase_storage >=0.0.2 <0.2.0 which requires SDK version >=1.8.0 <2.0.0, version solving failed. Running "flutter pub get" in newsbuzz... pub get failed (1; Because NewsBuzz depends on firebase_storage >=0.0.2 <0.2.0 which requires SDK version >=1.8.0 <2.0.0, version solving failed.)

    opened by LayYouTube 0
  • Could not locate configuration file

    Could not locate configuration file

    Hi @theankurkedia

    I tired setting the app using the instructions from the README file. After setting up Firebase project and copying the GoogleService-Info.plist file, I get the following error,

    The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: https://goo.gl/ctyzm8. [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'. *** First throw call stack: ( 0 CoreFoundation 0x0000000102a041e6 __exceptionPreprocess + 294 1 libobjc.A.dylib 0x0000000107875031 objc_exception_throw + 48 2 CoreFoundation 0x0000000102a79975 +[NSException raise:format:] + 197 3 Runner 0x000000010145f7f5 +[FIRApp configure] + 259 4 Runner 0x00000001013d0ad9 -[FirebaseAnalyticsPlugin init] + 185 5 Runner 0x00000001013d09b8 +[FirebaseAnalyticsPlugin registerWithRegistrar:] + 168 6 Runner 0x000000010137b52c +[GeneratedPluginRegistrant registerWithRegistry:] + 124 7 Runner 0x000000010137b3b3 -[AppDelegate a<…> Error connecting to the service protocol: Exception: Attempted to connect to Dart observatory 5 times, and all attempts failed. Giving up. The URL was ws://127.0.0.1:8100/ws

    Am I missing something?

    FYI, I created a new project in Firebase and created a new iOS app. Copy pasted the GoogleService-Info.plist file.

    opened by narayan8291 0
Owner
Ankur Kedia
Ankur Kedia
Flutter app fetching nasa's picture of the day api

NASA Project the nasa project created in flutter using BLoc for state management and NASA astronomy picture of the day api Getting Started The app con

Nader ismaiel 1 Jan 7, 2022
News Adda is a news app that selects the latest and best news from multiple national and international sources

News Adda A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

 Geeky.dev 7 Apr 22, 2022
This is a simple news app. It created using flutter as front-end and firebase as back end.

This is a simple news app. It created using flutter as front-end and firebase as back end. Only one person (Admin)can upload news. There is SignUp feature. Only one preDefined Admin who can login to account and upload news. It also uses Shared Preference for saving Admin's login inform.

sanal parakkal 2 Aug 5, 2022
Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage

Fwitter - Twitter clone in flutter A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage. Download Ap

Sonu Sharma 2.4k Jan 8, 2023
A news application that fetches the latest news via an API and displays, in a reverse sorted chronological way.

News App Description A news application that fetches the latest news via an API and displays, in a reverse sorted chronological way. Features Nativ Sp

Nishant Andoriya 3 Jun 24, 2022
This is a weather app created in Flutter with backend in Dart

Flutter Weather A Flutter application to view current weather status. Features ✅ Beautiful minimal UI ✅ Dark and Light themes ✅ Current temperature, m

null 2 Jul 4, 2022
Firebase Login... And Data Created ,Read, Update, Delete

flutter_application_2 A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you st

Jamirul islam (Joy) 2 Nov 30, 2022
Playify is a Flutter plugin for play/pause/seek songs, fetching music metadata, and browsing music library.

Playify Playify is a Flutter plugin for play/pause/seek songs, fetching music metadata, and browsing music library. Playify was built using iOS's Medi

Ibrahim Berat Kaya 32 Dec 14, 2022
Plants online shopping app using flutter firebase as backend.

planta A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if th

Musthafa Ap 0 Nov 7, 2021
A complete Flutter E-Commerce Book Store application built using firebase as backend

ecommerce A complete Flutter E-Commerce Book Store application built using firebase as backend. Features Add or remove item in cart Search products Ad

aakanksha 2 Sep 24, 2022
:rocket: This application using flutter for develop a realtime chat app

Flutter Chat Socket Description: ?? This application using Flutter for develop a realtime chat app How I can run it? ?? Clone this repository ?? Run b

Dao Hong Vinh 17 Dec 31, 2022
This is a mobile app created using Flutter, corona.lmao.ninja (Real Time News about Covid 19).

Covid 19 News This is a mobile app created using Flutter, corona.lmao.ninja (Real Time News about Covid 19). There are some test files that needed to

Achintha Isuru 10 Jan 28, 2022
Flutter SDK for building a realtime broadcaster using the Millicast platform

Flutter SDK for building a realtime broadcaster using the Millicast platform. This Software Development Kit (SDK) for Flutter allows developers to simplify Millicast services integration into their own Android and iOS apps.

Millicast, Inc. 9 Oct 29, 2022
A chat App built with flutter and firebase as backend

chat_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Alfi Mostak 0 Dec 3, 2021
A live location sharing app built on Flutter and Firebase as backend

DISCLAIMER I want to stress on three main points: This was my first Flutter project so I have not used any best practices and it needs a lot of code r

ManojNB 237 Dec 30, 2022
:star: Flutter-Firebase fully backend messaging app

Orgonet ChatApp ⭐ Flutter-Firebase fully backend messaging app I made a backend full messaging app using firebase **download the file named orgone tv2

Berke Can Pınar 5 Nov 18, 2022
An App To manage all your tasks with firebase backend

?? Todo App An App To manage all your tasks with firebase backend. Star ⭐ the repo if you like what you see ?? . ✨ Features : Login/SignUp with Fireba

Omar Jadiani 74 Dec 12, 2022
News Headline app is build in Flutter MVVM and REST Apis for News is used in this app.

About The Project Flutter MVVM project for News Headlines. REST Api for News is used in this project. App Demo Api for News Get free api from here : h

Aizaz ahmad 3 Aug 16, 2022
A complete grocery store developed with Flutter, .Net Core, Firebase, One Signal and SQL Server as backend

# Grocery-Store developed in Flutter,DotNet Core, Firebase, One-Signal, SQL-Server, Stripe, Razorpay, Paypal A complete grocery store developed with F

Sunil Vijayan 31 Jan 1, 2023