theankurkedia/newsbuzz
使用 News API 取得即時資料,並以 Firebase 為後端與驗證器,在 Flutter 中建立的新聞應用程式。
- Stars
- 597
- Forks
- 190
- 最近推送(UTC)
- 2018年10月27日
- 專案狀態
- 未封存
語言DartRubyObjective-CJava
技術主題
使用的依賴
依賴清單 11 項
- flutter
{"sdk":"flutter"} - flutter_test開發依賴
{"sdk":"flutter"} - share開發依賴
^0.2.1 - flutter_webview_plugin開發依賴
^0.0.9+1 - google_sign_in開發依賴
0.3.1 - firebase_analytics開發依賴
0.0.4 - firebase_auth開發依賴
0.2.0 - firebase_database開發依賴
0.0.12 - firebase_storage開發依賴
0.0.5 - timeago開發依賴
^1.2.0 - cupertino_icons開發依賴
^0.1.0
所在榜單
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
展開 / 收合專案 README
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
- You'll need to create a Firebase instance. Follow the instructions at https://console.firebase.google.com.
- 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
- (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.jsonintonewsbuzz/android/app/.
- (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.