Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zunda-pixel/firebase-swift
Firebase client for Swift.
https://github.com/zunda-pixel/firebase-swift
firebase google-cloud swift
Last synced: 21 days ago
JSON representation
Firebase client for Swift.
- Host: GitHub
- URL: https://github.com/zunda-pixel/firebase-swift
- Owner: zunda-pixel
- License: apache-2.0
- Created: 2024-07-11T16:02:48.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T09:10:32.000Z (2 months ago)
- Last Synced: 2024-12-02T19:07:03.544Z (about 1 month ago)
- Topics: firebase, google-cloud, swift
- Language: Swift
- Homepage: https://swiftpackageindex.com/zunda-pixel/firebase-swift
- Size: 68.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# firebase-swift
Firebase client for Swift.
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2Ffirebase-swift%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/zunda-pixel/firebase-swift)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fzunda-pixel%2Ffirebase-swift%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/zunda-pixel/firebase-swift)### [Authentication](https://firebase.google.com/docs/auth)
- Create Anonymous User
- Create User
- Delete Account
- Link Email for Anonymous User
- Refresh Token
- Send Email Verification
- Send Email to Reset Password
- Send SignUp Link
- Update Password
- Update Profile
- Verify Password```swift
let client = Auth(
apiKey: apiKey,
httpClient: .urlSession(.shared)
)let user = try await client.createUser(
email: "[email protected]",
password: "password"
)print(user)
```### [Remote Config](https://firebase.google.com/docs/remote-config)
- Fetch Remote Config
- Realtime Remote Config```swift
let client = RemoteConfig(
apiKey: apiKey,
projectId: projectId,
projectName: projectName,
appId: appId,
appInstanceId: UUID().uuidString,
httpClient: .urlSession(.shared)
)let config = try await client.fetch()
print(config)
```### [Cloud Storage](https://firebase.google.com/docs/storage)
- Get Item
- Get Items
- Upload Item
- Delete Item
- Update Item```swift
let client = Storage(
httpClient: .urlSession(.shared)
)let item = try await client.upload(
bucket: bucket,
path: itemPath,
data: data,
contentType: contentType
)print(item)
```