News Reader is a Flutter-based mobile application that allows users to read news from various news channels and categories. Users can search for news, bookmark news, view news in a WebView, and manage their accounts with Firebase Authentication.
- User authentication (sign up, log in, log out, and password reset) using Firebase Authentication.
- Read news from various categories and channels.
- Search for news using the search bar.
- Bookmark news articles for later reading.
- View news articles in a WebView within the app.
To get started with the News Reader application, follow the instructions below.
- Flutter installed on your local machine.
- An API key from News API. Create an account and obtain your API key.
- Firebase project set up with Authentication enabled.
-
Clone the repository:
git clone https://github.com/Mahmood-Anaam/News-Reader-Flutter.git cd News-Reader-Flutter
-
Install dependencies:
flutter pub get
-
Create a
.env
file in the root directory and add your API key:API_KEY=your_api_key_here
-
Configure Firebase:
- Follow the Firebase setup instructions for your platform (iOS/Android).
- Add your
google-services.json
(for Android) orGoogleService-Info.plist
(for iOS) to the respective directory.
To run the app on an emulator or physical device, use the following command:
flutter run
provider: ^6.1.2
path: ^1.8.3
path_provider: ^2.1.3
http: ^1.2.0
collection: ^1.18.0
shared_preferences: ^2.2.3
webview_flutter: ^4.5.0
firebase_core: ^2.27.0
firebase_auth: ^4.17.8
flutter_login: ^5.0.0
sqflite: ^2.3.2
flutter_dotenv: ^5.1.0
The application is available for download in APK format for Android devices at the following link: Download APK