{"id":19952288,"url":"https://github.com/sparrowcode/firebaseprofile","last_synced_at":"2025-06-30T21:36:41.568Z","repository":{"id":43470102,"uuid":"456421103","full_name":"sparrowcode/FirebaseProfile","owner":"sparrowcode","description":"Ready use service for Firebase. Included interface, recored devices and notifications.","archived":false,"fork":false,"pushed_at":"2025-01-10T17:54:47.000Z","size":96,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-03T19:39:13.305Z","etag":null,"topics":["auth","firebase","ios","profile","swift","xcode"],"latest_commit_sha":null,"homepage":"https://sparrowcode.io/frameworks","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sparrowcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-07T08:37:45.000Z","updated_at":"2024-02-18T20:11:24.000Z","dependencies_parsed_at":"2024-11-13T01:12:54.441Z","dependency_job_id":"de4130b6-0e0c-4078-a8f3-e386f0a488df","html_url":"https://github.com/sparrowcode/FirebaseProfile","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/sparrowcode/FirebaseProfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FFirebaseProfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FFirebaseProfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FFirebaseProfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FFirebaseProfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparrowcode","download_url":"https://codeload.github.com/sparrowcode/FirebaseProfile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowcode%2FFirebaseProfile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262854761,"owners_count":23375186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth","firebase","ios","profile","swift","xcode"],"created_at":"2024-11-13T01:12:28.842Z","updated_at":"2025-06-30T21:36:41.547Z","avatar_url":"https://github.com/sparrowcode.png","language":"Swift","readme":"# SPProfiling\n\nReady use service with using Firebase. Included interface, manage auth process, recored devices and profile data.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/10995774/153156766-5288e041-1c2d-48cd-b833-dab507f3fbe1.jpeg\" height=\"550\"/\u003e\n\n## Installation\n\nReady for use on iOS 13+.\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.\n\nOnce you have your Swift package set up, adding as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/ivanvorobei/SPProfiling\", .upToNextMajor(from: \"1.0.2\"))\n]\n```\n\n### Manually\n\nIf you prefer not to use any of dependency managers, you can integrate manually. Put `Sources/SPProfiling` folder in your Xcode project. Make sure to enable `Copy items if needed` and `Create groups`.\n\n## Usage\n\nFirst call configure services:\n\n```swift\nlet filePath = Bundle.main.path(forResource: Constants.Firebase.plist_filename, ofType: .empty)!\nlet options = FirebaseOptions(contentsOfFile: filePath)!\nSPProfiling.configure(firebaseOptions: options)\n```\n\nAll actions doing from `ProfileModel`.\n\n```swift\nProfileModel.isAuthed\nProfileModel.isAnonymous\nProfileModel.currentProfile\n\nProfileModel.getProfile(userID...)\nProfileModel.getProfile(email...)\n\nProfileModel.signInApple(...)\nProfileModel.signInAnonymously(...)\nProfileModel.signOut(...)\n\nlet profileModel = ProfileModel.currentProfile\nprofileModel.setName(...)\nprofileModel.getAvatarURL(...)\nprofileModel.setAvatar(...)\nprofileModel.deleteAvatar(...)\n\n// Ready-use interface\nProfileModel.showCurrentProfile(...)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparrowcode%2Ffirebaseprofile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparrowcode%2Ffirebaseprofile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparrowcode%2Ffirebaseprofile/lists"}