newsbuzz
所属分类:Flutter开发
开发工具:Dart
文件大小:1719KB
下载次数:0
上传日期:2018-10-27 21:29:39
上 传 者:
sh-1993
说明: 在Flutter中创建的新闻应用程序使用新闻API获取实时数据,Firebase作为后端和验证器。
(News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.)
文件列表:
.vscode (0, 2018-06-17)
.vscode\launch.json (383, 2018-06-17)
.vscode\settings.json (3, 2018-06-17)
LICENSE (1068, 2018-06-17)
LogoDesigns (0, 2018-06-17)
LogoDesigns\black.png (5505, 2018-06-17)
LogoDesigns\logodesigns (1, 2018-06-17)
LogoDesigns\logotype1black.png (9934, 2018-06-17)
LogoDesigns\logotype1white.png (9989, 2018-06-17)
LogoDesigns\logotype1yellow.png (9889, 2018-06-17)
LogoDesigns\logotype2black.png (8878, 2018-06-17)
LogoDesigns\logotype2white.png (9095, 2018-06-17)
LogoDesigns\logotype2yellow.png (9102, 2018-06-17)
LogoDesigns\white.png (5845, 2018-06-17)
LogoDesigns\yellow.png (5660, 2018-06-17)
_config.yml (26, 2018-06-17)
android.iml (578, 2018-06-17)
android (0, 2018-06-17)
android\app (0, 2018-06-17)
android\app\build.gradle (1609, 2018-06-17)
android\app\src (0, 2018-06-17)
android\app\src\main (0, 2018-06-17)
android\app\src\main\AndroidManifest.xml (1661, 2018-06-17)
android\app\src\main\java (0, 2018-06-17)
android\app\src\main\java\com (0, 2018-06-17)
android\app\src\main\java\com\yourcompany (0, 2018-06-17)
android\app\src\main\java\com\yourcompany\newsapp (0, 2018-06-17)
android\app\src\main\java\com\yourcompany\newsapp\MainActivity.java (366, 2018-06-17)
android\app\src\main\res (0, 2018-06-17)
android\app\src\main\res\mipmap-hdpi (0, 2018-06-17)
android\app\src\main\res\mipmap-hdpi\ic_launcher.png (544, 2018-06-17)
android\app\src\main\res\mipmap-mdpi (0, 2018-06-17)
android\app\src\main\res\mipmap-mdpi\ic_launcher.png (442, 2018-06-17)
android\app\src\main\res\mipmap-xhdpi (0, 2018-06-17)
android\app\src\main\res\mipmap-xhdpi\ic_launcher.png (721, 2018-06-17)
android\app\src\main\res\mipmap-xxhdpi (0, 2018-06-17)
... ...
# 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](https://github.com/theankurkedia/newsbuzz/blob/master/./screenshots/NewsBuzz.gif)
## Dependencies
* [Flutter](https://github.com/theankurkedia/newsbuzz/blob/master/https://flutter.io/)
* [Firebase](https://github.com/theankurkedia/newsbuzz/blob/master/https://github.com/flutter/plugins/blob/master/FlutterFire.md)
* [Google Sign In](https://github.com/theankurkedia/newsbuzz/blob/master/https://github.com/flutter/plugins/tree/master/packages/google_sign_in)
* [Flutter Webview Plugin](https://github.com/theankurkedia/newsbuzz/blob/master/https://github.com/dart-flitter/flutter_webview_plugin)
* [News API](https://github.com/theankurkedia/newsbuzz/blob/master/https://newsapi.org/)
## Getting Started
#### 1. [Setup Flutter](https://github.com/theankurkedia/newsbuzz/blob/master/https://flutter.io/setup/)
#### 2. Clone the repo
```sh
$ 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
3. (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/`.
4. (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
```sh
$ flutter run
```
## License
Licensed under the [MIT license](https://github.com/theankurkedia/newsbuzz/blob/master/https://opensource.org/licenses/MIT).
近期下载者:
相关文件:
收藏者: