- Notifications
You must be signed in to change notification settings - Fork2
Ready use service for Firebase. Included interface, recored devices and notifications.
License
sparrowcode/FirebaseProfile
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Ready use service with using Firebase. Included interface, manage auth process, recored devices and profile data.
Ready for use on iOS 13+.
TheSwift Package Manager is a tool for automating the distribution of Swift code and is integrated into theswift compiler. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
Once you have your Swift package set up, adding as a dependency is as easy as adding it to thedependencies value of yourPackage.swift.
dependencies:[.package(url:"https://github.com/ivanvorobei/SPProfiling",.upToNextMajor(from:"1.0.2"))]
If you prefer not to use any of dependency managers, you can integrate manually. PutSources/SPProfiling folder in your Xcode project. Make sure to enableCopy items if needed andCreate groups.
First call configure services:
letfilePath=Bundle.main.path(forResource:Constants.Firebase.plist_filename, ofType:.empty)!letoptions=FirebaseOptions(contentsOfFile: filePath)!SPProfiling.configure(firebaseOptions: options)
All actions doing fromProfileModel.
ProfileModel.isAuthedProfileModel.isAnonymousProfileModel.currentProfileProfileModel.getProfile(userID...)ProfileModel.getProfile(email...)ProfileModel.signInApple(...)ProfileModel.signInAnonymously(...)ProfileModel.signOut(...)letprofileModel=ProfileModel.currentProfileprofileModel.setName(...)profileModel.getAvatarURL(...)profileModel.setAvatar(...)profileModel.deleteAvatar(...)// Ready-use interfaceProfileModel.showCurrentProfile(...)
About
Ready use service for Firebase. Included interface, recored devices and notifications.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
