This repository has been archived.
New repository is here!!!
Simple Todo application that using SwiftUI and Firebase(Authentication, Cloud Firestore)
- Xcode 11 beta
- iOS 13.0 beta
- SwiftUI
- bundler
- CocoaPods
- yarn
$ git clone path/to/project
$ cd path/to/project
$ bundle install
$ bundle exec pod install
- Visit Firebase console and create new project.
- Visit [Develop]->[Authentication] and enable
Anonymous
sign-in method. - Visit [Develop]->[Database] and setup Cloud Firestore.
- Create iOS app in Firebase Project with bundle ID
-.FireTodo-w-SwiftUI
- Download
GoogleService-Info.plist
and move to./FireTodo-w-SwiftUI/Config
- move
firebase
directory. - Change
.firebaserc
below:
{
"projects": {
"default": "<your-project-id>"
}
}
- execute commands
$ yarn
$ yarn firebase login
$ yarn firebase deploy --only firestore:rules
- Improvement data flow using Combine.
- Dismiss UserView correctly after user has signed out.
- (docs): https://developer.apple.com/documentation/swiftui
- (SwiftUI tutorials): https://developer.apple.com/tutorials/swiftui/tutorials
- (Firebase setup): https://firebase.google.com/docs/ios/setup
- If you found a bug, please open an issue. 🙇
- Also, if you have a feature request, please open an issue. 👍
- If you want to contribute, submit a pull request.💪
SwiftUI-Firebase-Todo
is under MIT license. See the LICENSE file for more info.