Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ehabmagdyy/news-app-flutter
Flutter News Application using newsapi.org API.
https://github.com/ehabmagdyy/news-app-flutter
flutter flutter-app flutter-apps news-api news-app
Last synced: 5 days ago
JSON representation
Flutter News Application using newsapi.org API.
- Host: GitHub
- URL: https://github.com/ehabmagdyy/news-app-flutter
- Owner: EhabMagdyy
- Created: 2024-12-08T00:00:13.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2024-12-17T04:58:02.000Z (6 days ago)
- Last Synced: 2024-12-17T05:34:16.122Z (6 days ago)
- Topics: flutter, flutter-app, flutter-apps, news-api, news-app
- Language: Dart
- Homepage:
- Size: 378 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: news/assets/business.jpeg
Awesome Lists containing this project
README
https://github.com/user-attachments/assets/5ce57e77-0fb4-4d51-bdc7-66b754b06345
---
## Allowing Internet Access on Android
To enable network access for your Android application, add the following permission to the `android/app/src/main/AndroidManifest.xml` file:
```xml
```
---
## Building a Flutter APK
To generate an APK file for your Flutter project, use the following command:
```bash
flutter build apk --build-name= --build-number=
```### Example
```bash
flutter build apk --build-name=1.0 --build-number=1
```This will produce a release-ready APK file.
---
## Adding an App Icon
To add an app icon to your Flutter project, update the `pubspec.yaml` file with the following dependencies:
```yaml
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
flutter_launcher_icons: ^0.13.1flutter_icons:
android: true
ios: true
image_path: "assets/app_icon.png"
```##### Generate Icons
Run the following commands to apply the app icon:
```bash
flutter pub get
dart run flutter_launcher_icons
```---
## Updating the Application Name
### For Android
1. Open the `android/app/src/main/AndroidManifest.xml` file.
2. Locate the `` tag and update the `android:label` attribute:```xml
android:icon="@mipmap/ic_launcher">
```### For iOS
1. Open the `ios/Runner/Info.plist` file.
2. Locate the `CFBundleName` entry and update the value:```xml
CFBundleName
YourAppName
```