{"id":19188756,"url":"https://github.com/miquido/revolt-sdk-ios-binary","last_synced_at":"2025-08-29T16:09:00.905Z","repository":{"id":62452955,"uuid":"147807413","full_name":"miquido/revolt-sdk-ios-binary","owner":"miquido","description":"The project was made by Miquido. https://www.miquido.com/","archived":false,"fork":false,"pushed_at":"2021-01-14T18:18:55.000Z","size":26120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T09:53:02.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miquido.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}},"created_at":"2018-09-07T10:13:36.000Z","updated_at":"2021-09-30T09:51:56.000Z","dependencies_parsed_at":"2022-11-01T23:17:51.052Z","dependency_job_id":null,"html_url":"https://github.com/miquido/revolt-sdk-ios-binary","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/miquido/revolt-sdk-ios-binary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miquido%2Frevolt-sdk-ios-binary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miquido%2Frevolt-sdk-ios-binary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miquido%2Frevolt-sdk-ios-binary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miquido%2Frevolt-sdk-ios-binary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miquido","download_url":"https://codeload.github.com/miquido/revolt-sdk-ios-binary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miquido%2Frevolt-sdk-ios-binary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272717028,"owners_count":24981481,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T11:25:56.453Z","updated_at":"2025-08-29T16:09:00.841Z","avatar_url":"https://github.com/miquido.png","language":"Objective-C","readme":"# Revolt iOS \n\nLibrary is written in Swift. Dedicated for tracking events, using standard JSON format, codable objects or even just dictionary. \n\nMinimum Deployment Target: iOS 10.0\n\nInstallation of the Revolt\n# Updates\n\n\n| VERSION | UPDATES |\n|----|----|\n|  1.0.0  | Revolt SDK released !!!\n|  1.0.1  | Fix minor issues\n|  1.0.2  | Support for Xcode 10, Swift 4.2\n|  1.0.3  | Support screen tracking, bug fixing\n|  1.0.4  | Fix issue with sending old events\n|  1.0.5  | Add zoneOffset related to GMT difference\n|  1.0.6  | Fix SDK version, and utilize events\n|  1.0.7  | Support Swift 4.2\n|  1.0.9  | Update for Swift 5.x\n|  1.0.10 | Fix bitcode settings\n|  1.0.11 | Fix simulator build\n|  1.0.12 | Update for Xcode 12, Swift 5.3\n\n\n# Installation\n\n## Cocoa Pods\nCocoa pods are a dependency management system for iOS. If you do not have cocoa pods configured, please read the installation documents on their website (https://guides.cocoapods.org/using/getting-started.html). If you use another dependency management system or do not wish to implement one, please contact us for alternative options.\n\nOnce you have cocoa pods installed, navigate to the Podfile in your app’s root directory. In the file, add the lines:\n\n```\nuse_frameworks!\n\ntarget :XXXXX do\n    pod 'Revolt'\nend\n```\n\nwhere *XXXXX* is the name of your app target\n\n```\npod install\n```\n\nIf you encounter permission issues, ensure the GitHub username step has been successfully completed. Please consult the cocoapods documentation if you have any other issues with this step. If your process freezes on “Analysing dependencies”, try running *pod repo remove master*, *pod setup*, then *pod install* again.\n\n# Start/Stop Revolt\nStarting the Revolt with a trackingId and secret key\n\nTo start the Revolt (preferably in your AppDelegate didFinishLaunchingWithOptions) use the following method\n\n```swift\nimport Revolt\n\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n    Revolt.setup(trackingId: \"your_tracking_id\", secretId: \"your_secret_id\", serviceAddress: \"your_service_address\")\n    return true\n}\n```\n\nWe already implemented screen tracking. It is enabled by default but you can disable it in setup.\n\nWhen you want to start/stop sending events. It is important to understand that this framework will collect events offline.\n\n```swift\n\n Revolt.start()\n Revolt.stop()\n\n```\n\n\n# Log Level\nAny time you are able to change the log level, by default is set to *warning*\n```swift\n\n Revolt.setLog(level: .debug)\n```\n\n# Sending Events\nAll events are sent asynchronously with minimum priority level. There is no risk to send even 1000 custom events at once. \nWe created few types of events described below.\n\nTypes of Events\n\n* Custom \n    - with Codable object\n```swift\n    struct UserCustom: Codable {\n        let firstName: String\n        let lastName: String\n        let values: [Int]\n    }\n    let variable = UserCustom(firstName: \"user_firstname\", lastName: \"user_lastname\", values: [0, 1])\n    Revolt.sendEventCustom(event: Revolt.EventCustomType\u003cUserCustom\u003e.codable(object: variable), name: \"user.custom\")\n\n```\n   - with JSONSerialization.data\n```swift\n    let data = try! JSONSerialization.data(withJSONObject: [\"t2\": 5, \"t3\": 5.21], options: .prettyPrinted)\n    Revolt.sendEventCustom(event: Revolt.EventCustomType\u003cUserCustom\u003e.json(data: data), name: \"user.custom\")\n\n```\n   - with  dictionary\n```swift\n    Revolt.sendEventCustom(event: Revolt.EventCustomType\u003cUserCustom\u003e.raw(dictionary: [\"parameter1\": 1, \"parameter2\": \"value2\"]), name: \"user.custom\")\n\n```\n\n* Profile\n\n```swift\n    Revolt.send(event: .profile(appUserId: \"appUserId\", birthYear: 2018, gender: .male, country: \"Poland\", city: \"Krakow\"))\n\n```\n\n* SignIn\n\n```swift\n    Revolt.send(event: .signIn(appUserId: \"appUserId\"))\n```\n\n* SignOut\n\n```swift\n    Revolt.send(event: .signOut(appUserId: \"appUserId\"))\n```\n\n# License\n\nCopyright 2018-2020 Miquido\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiquido%2Frevolt-sdk-ios-binary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiquido%2Frevolt-sdk-ios-binary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiquido%2Frevolt-sdk-ios-binary/lists"}