{"id":19411493,"url":"https://github.com/volcengine/datarangers-sdk-ios","last_synced_at":"2025-04-14T11:07:08.266Z","repository":{"id":57867852,"uuid":"528672322","full_name":"volcengine/datarangers-sdk-ios","owner":"volcengine","description":"open source version for volcengine finder","archived":true,"fork":false,"pushed_at":"2022-09-07T07:39:40.000Z","size":369,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T11:06:58.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/volcengine.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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":"2022-08-25T02:54:21.000Z","updated_at":"2025-04-08T03:08:54.000Z","dependencies_parsed_at":"2023-01-17T23:00:53.626Z","dependency_job_id":null,"html_url":"https://github.com/volcengine/datarangers-sdk-ios","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fdatarangers-sdk-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fdatarangers-sdk-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fdatarangers-sdk-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/volcengine%2Fdatarangers-sdk-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/volcengine","download_url":"https://codeload.github.com/volcengine/datarangers-sdk-ios/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868766,"owners_count":21174758,"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":[],"created_at":"2024-11-10T12:21:42.575Z","updated_at":"2025-04-14T11:07:08.245Z","avatar_url":"https://github.com/volcengine.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"English | [简体中文](./README.zh-CN.md)\n\n# DataRangers iOS SDK\n\n## Usage\n\n\u003e For more information: [Integration Document](https://www.volcengine.com/docs/6285/65978)\n\n### 1. Initialize the SDK\n\nInitialize SDK in `application:didFinishLaunchingWithOptions:`\n\n```objc\n\n@import RangersAppLog;\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary\u003cUIApplicationLaunchOptionsKey, id\u003e *)launchOptions {\n    \n    BDAutoTrackConfig *config = [BDAutoTrackConfig configWithAppID:\u003c#your application id#\u003e launchOptions:launchOptions];\n    \n    config.appName = \u003c# enter your your app name #\u003e;\n    config.channel = \u003c# enter your your app channel #\u003e;\n\n    config.abEnable = YES;      //enable A/B test\n    \n    config.encryptionDelegate = \u003c# Custom encryption definition #\u003e //Provides an implementation of BDAutoTrackEncryptionDelegate encryption protocol\n    config.logNeedEncrypt = YES; //enable encryption, YES by default\n\n    config.showDebugLog = YES;  //enable console log, NO by default\n\n    config.serviceVendor = BDAutoTrackServiceVendorPrivate; //Identifies the use of privatized deployment servers\n\n    [BDAutoTrack sharedTrackWithConfig:config];\n\n    //Provides host of privatized deployment servers\n    [[BDAutoTrack sharedTrack] setRequestHostBlock:^NSString * _Nullable(BDAutoTrackServiceVendor  _Nonnull vendor, BDAutoTrackRequestURLType requestURLType) {\n        return \u003c# your server host #\u003e\n    }];\n    \n    [[BDAutoTrack sharedTrack] startTrack];\n    \n}\n\n```\n\n### 2. Track event\n\n```objc\n\n   [[BDAutoTrack sharedTrack] eventV3:\u003c# event code #\u003e params:\u003c# NSDictionary type parameter, should be valid JSONObject #\u003e];\n \n```\n\n## License\n\nCopyright 2022 Beijing Volcanoengine Technology Ltd. All Rights Reserved.\n\nThe DataRangers SDK was developed by Beijing Volcanoengine Technology Ltd. (hereinafter “Volcanoengine”). Any copyright or patent right is owned by and proprietary material of the Volcanoengine.\n\nDataRangers SDK is available under the Volcanoengine and licensed under the commercial license.  Customers can contact service@volcengine.com for commercial licensing options.  Here is also a link to subscription services agreement: https://www.volcengine.com/docs/6285/69647\n\nWithout Volcanoengine's prior written permission, any use of DataRangers SDK, in particular any use for commercial purposes, is prohibited. This includes, without limitation, incorporation in a commercial product, use in a commercial service, or production of other artefacts for commercial purposes.\n\nWithout Volcanoengine's prior written permission, the DataRangers SDK may not be reproduced, modified and/or made available in any form to any third party.\n\nTHE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF Volcanoengine.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolcengine%2Fdatarangers-sdk-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvolcengine%2Fdatarangers-sdk-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolcengine%2Fdatarangers-sdk-ios/lists"}