Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sgr-ksmt/rxfirebaseauth
Combination of RxSwift and Firebase Authentication
https://github.com/sgr-ksmt/rxfirebaseauth
cocoapods extension firebase firebase-auth rxswift swift
Last synced: about 1 month ago
JSON representation
Combination of RxSwift and Firebase Authentication
- Host: GitHub
- URL: https://github.com/sgr-ksmt/rxfirebaseauth
- Owner: sgr-ksmt
- License: mit
- Created: 2017-11-07T15:46:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T00:58:56.000Z (over 2 years ago)
- Last Synced: 2024-09-18T01:27:33.957Z (about 2 months ago)
- Topics: cocoapods, extension, firebase, firebase-auth, rxswift, swift
- Language: Swift
- Homepage:
- Size: 38.1 KB
- Stars: 11
- Watchers: 3
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# RxFirebaseAuth
Combination of RxSwift and Firebase Authentication[![GitHub release](https://img.shields.io/github/release/sgr-ksmt/RxFirebaseAuth.svg)](https://github.com/sgr-ksmt/RxFirebaseAuth/releases)
![Language](https://img.shields.io/badge/language-Swift%205.0-orange.svg)
[![CocoaPods](https://img.shields.io/badge/Cocoa%20Pods-✓-4BC51D.svg?style=flat)](https://cocoapods.org/pods/RxFirebaseAuth)
[![CocoaPodsDL](https://img.shields.io/cocoapods/dt/RxFirebaseAuth.svg)](https://cocoapods.org/pods/RxFirebaseAuth)## Usages
```swift
Auth.auth().rx.addStateDidChangeListener()
.subscribe(onSuccess: { (auth, user) in
// ...
})
.disposed(by: disposeBag)
``````swift
Auth.auth().rx.signInAnonymously()
.flatMap { UserModel.create(uid: $0.uid) }
.subscribe(onSuccess: { user in
// ...
})
.disposed(by: disposeBag)
```## Dependencies
- RxSwift 5.x
- Firebase Auth 6.x## Installation
### CocoaPods
**CocoaPods 1.4 or higher** required.**RxFirebaseAuth** is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
# Firebase 6.x
pod 'RxFirebaseAuth', '~> 2.4'# Firebase 5.x
pod 'RxFirebaseAuth', '~> 2.3'# Firebase 4.x
pod 'RxFirebaseAuth', '~> 1.0'```
and run `pod install`
### Manually Install
Download all `*.swift` files and put your project.## Development
```bash
$ bundle install --path vendor/bundle
$ bundle exec pod install
$ open komerco.xcworkspace
```## Communication
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.:muscle:## License
**RxFirebaseAuth** is under MIT license. See the [LICENSE](LICENSE) file for more info.