{"id":22705277,"url":"https://github.com/hecom-rn/react-native-esdk-obs","last_synced_at":"2025-04-13T10:54:16.269Z","repository":{"id":97838249,"uuid":"184231365","full_name":"hecom-rn/react-native-esdk-obs","owner":"hecom-rn","description":"华为云OBS React Native SDK","archived":false,"fork":false,"pushed_at":"2025-03-11T02:32:25.000Z","size":39142,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T02:11:19.300Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hecom-rn.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":"2019-04-30T09:18:22.000Z","updated_at":"2025-03-11T02:32:29.000Z","dependencies_parsed_at":"2024-12-21T04:23:08.750Z","dependency_job_id":"e0de7834-6f5b-4570-9d3b-ac8c2248c533","html_url":"https://github.com/hecom-rn/react-native-esdk-obs","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/hecom-rn%2Freact-native-esdk-obs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecom-rn%2Freact-native-esdk-obs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecom-rn%2Freact-native-esdk-obs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecom-rn%2Freact-native-esdk-obs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hecom-rn","download_url":"https://codeload.github.com/hecom-rn/react-native-esdk-obs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248702999,"owners_count":21148116,"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-12-10T09:09:53.400Z","updated_at":"2025-04-13T10:54:16.249Z","avatar_url":"https://github.com/hecom-rn.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 华为 OBS SDK for React Native\n\n## 简介\n\n本文档主要介绍OBS React Native SDK的安装和使用。本文档假设您已经开通了华为云OBS 服务，并创建了Access Key ID 和Access Key Secret。文中的ID 指的是Access Key ID，KEY 指的是Access Key Secret。如果您还没有开通或者还不了解OBS，请登录[OBS产品主页](https://support.huaweicloud.com/obs/index.html)获取更多的帮助。\n\n## 安装\n\n* yarn\n\n```script\nyarn install https://github.com/hecom-rn/react-native-esdk-obs.git\n```\n\n### 手动安装\n\n#### iOS\n\n- **CocoaPods**\n```\npod 'react-native-esdk-obs', :path =\u003e '../node_modules/react-native-esdk-obs'\n````\n\n- **非CocoaPods**\n\n1. 在XCode  Project navigator面板中, 右键单击工程Libraries文件 ➜ 选择`Add Files to \u003c...\u003e` 进入 `node_modules` ➜ `react-native-esdk-obs` ➜ `ios` ➜ select `RNAliyunOSS.xcodeproj`\n2. 在XCode  Project navigator面板中, 添加`RNAliyunOSS.a` to `Build Phases -\u003e Link Binary With Libraries`\n3. 在XCode  Project navigator面板中，右键单击[framework] ➜ Add Files to [your project's name]. 进入node_modules ➜ aliyun-oss-rn-sdk ➜ AliyunSDK. Add AliyunOSSiOS.framework\n\n#### Android\n1. `settings.gradle`\n    ```gradle\n    include ':react-native-esdk-obs'\n    project(':react-native-esdk-obs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-esdk-obs/android')\n    ```\n2. `build.gradle`\n    ```gradle\n    dependencies {\n        implementation project(':react-native-esdk-obs')\n    }\n    ```\n\n3. `MainApplication.java`\n    ```java\n   import com.hecom.obs.RNObsPackage;\n\n    public class MainApplication extends Application implements ReactApplication {\n     @Override\n       protected List\u003cReactPackage\u003e getPackages() {\n         return Arrays.\u003cReactPackage\u003easList(\n             new MainReactPackage(),\n               new ImagePickerPackage(),\n               new RNObsPackage()\n         );\n       }\n    }\n    ```\n\n## License\n\n* MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhecom-rn%2Freact-native-esdk-obs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhecom-rn%2Freact-native-esdk-obs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhecom-rn%2Freact-native-esdk-obs/lists"}