{"id":20684118,"url":"https://github.com/urlaunched-com/udfcrashlyticslogger","last_synced_at":"2026-05-06T15:45:15.902Z","repository":{"id":198023260,"uuid":"699878350","full_name":"urlaunched-com/UDFCrashlyticsLogger","owner":"urlaunched-com","description":"SwiftUI-UDF Crashlytics Logger","archived":false,"fork":false,"pushed_at":"2025-01-13T14:15:36.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T16:14:44.709Z","etag":null,"topics":["crashlytics","crashlytics-logging","firebase","redux","swiftui-udf","udf"],"latest_commit_sha":null,"homepage":"https://www.urlaunched.com/","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/urlaunched-com.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}},"created_at":"2023-10-03T14:16:54.000Z","updated_at":"2025-01-10T13:39:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"a947b798-f036-4801-99e8-d78574946382","html_url":"https://github.com/urlaunched-com/UDFCrashlyticsLogger","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"172d6687f948cf698d8bf465c5b715a9fcc8b082"},"previous_names":["urlaunched-com/udfcrashlyticslogger"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlaunched-com%2FUDFCrashlyticsLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlaunched-com%2FUDFCrashlyticsLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlaunched-com%2FUDFCrashlyticsLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlaunched-com%2FUDFCrashlyticsLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urlaunched-com","download_url":"https://codeload.github.com/urlaunched-com/UDFCrashlyticsLogger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242933887,"owners_count":20208912,"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":["crashlytics","crashlytics-logging","firebase","redux","swiftui-udf","udf"],"created_at":"2024-11-16T22:19:19.421Z","updated_at":"2026-05-06T15:45:10.872Z","avatar_url":"https://github.com/urlaunched-com.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UDFCrashlyticsLogger\n\n**A custom logger for SwiftUI-UDF applications with Firebase Crashlytics integration.**\n\nUDFCrashlyticsLogger is a custom logger built for SwiftUI-UDF that sends logs and error reports directly to Firebase Crashlytics. This integration provides real-time logging for actions and error reporting, allowing for more effective debugging and issue tracking in production applications.\n\n## Features\n\n- **Firebase Crashlytics integration**: Automatically logs actions and errors to Firebase Crashlytics.\n- **Action filtering**: Ignore unnecessary actions like `UpdateFormField` to reduce log noise.\n- **Error handling**: Automatically logs detailed error information, including error codes and descriptions.\n- **Memory warnings**: Special handling for memory warning actions (`Actions.ApplicationDidReceiveMemoryWarning`).\n  \n---\n\n## Installation\n\n### Setup Firebase following official Firebase Crashlytics guide.\n  - Add library via package manager.\n  - Init via reducer.\n\n``` swift\n        import UDF\n        struct AppState: AppReducer {\n            // MARK: - Frameworks reducers\n            var firebase = FirebaseReducer()\n        }\n        \n        import UDF\n        import FirebaseCore\n\n        struct FirebaseReducer: Reducible {\n            mutating func reduce(_ action: some Action) {\n                switch action {\n                case is Actions.ApplicationDidLaunchWithOptions:\n                    configureFirebase()\n                default:\n                    break\n                }\n            }\n        }\n\n        // MARK: - configureFirebase\n        private extension FirebaseReducer {\n            func configureFirebase() {\n                let filePath = Bundle.main.path(forResource: \"GoogleService-Info\", ofType: \"plist\")!\n                let options = FirebaseOptions(contentsOfFile: filePath)\n                FirebaseApp.configure(options: options!)\n            }\n        }\n```\n  - Add New Run Script Phase as described in Firebase Crashlytics [guide](https://firebase.google.com/docs/crashlytics/get-started?platform=ios).\n    \n\n### Add **UDFCrashlyticsLogger** to your project via Swift Package Manager:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/youarelaunched/UDFCrashlyticsLogger.git\", from: \"1.0.0\")\n]\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n\n## Contributing\n\nContributions are welcome! If you have any bug reports, feature requests, or suggestions, please open an issue or submit a pull request.\n\n## Contact\n\nFor questions or support, feel free to contact us at [youarelaunched.com](https://youarelaunched.com).​\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furlaunched-com%2Fudfcrashlyticslogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furlaunched-com%2Fudfcrashlyticslogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furlaunched-com%2Fudfcrashlyticslogger/lists"}