{"id":28547333,"url":"https://github.com/finogeeks/react-native-mopsdk","last_synced_at":"2025-09-12T07:42:33.161Z","repository":{"id":38456444,"uuid":"255117681","full_name":"finogeeks/react-native-mopsdk","owner":"finogeeks","description":"FinClip React SDK 插件，用于 RN 环境中 API 与组件调用  / React SDK for FinClip","archived":false,"fork":false,"pushed_at":"2025-07-09T06:34:24.000Z","size":3075,"stargazers_count":19,"open_issues_count":25,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T20:47:37.127Z","etag":null,"topics":["finclip","mini-app","mini-program","react","react-native","sdk"],"latest_commit_sha":null,"homepage":"https://finclip.com/","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/finogeeks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-04-12T15:54:36.000Z","updated_at":"2025-07-09T06:34:10.000Z","dependencies_parsed_at":"2024-06-24T06:49:09.822Z","dependency_job_id":null,"html_url":"https://github.com/finogeeks/react-native-mopsdk","commit_stats":{"total_commits":30,"total_committers":7,"mean_commits":4.285714285714286,"dds":0.8,"last_synced_commit":"2d29aef334dc55f2a030d7b20a1e89d735eb738a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/finogeeks/react-native-mopsdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finogeeks%2Freact-native-mopsdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finogeeks%2Freact-native-mopsdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finogeeks%2Freact-native-mopsdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finogeeks%2Freact-native-mopsdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finogeeks","download_url":"https://codeload.github.com/finogeeks/react-native-mopsdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finogeeks%2Freact-native-mopsdk/sbom","scorecard":{"id":400411,"data":{"date":"2025-08-11","repo":{"name":"github.com/finogeeks/react-native-mopsdk","commit":"c5e92f4d0f9748734e6f701d0da728d8780bff80"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/issue.yml:1","Warn: no topLevel permission defined: .github/workflows/pull_request.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: example/android/gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/finogeeks/react-native-mopsdk/issue.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull_request.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/finogeeks/react-native-mopsdk/pull_request.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"37 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-7mhc-prgv-r3q4","Warn: Project is vulnerable to: GHSA-m5qc-5hw7-8vg7","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-rxrc-rgv4-jpvx","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-f5x2-xv93-4p23","Warn: Project is vulnerable to: GHSA-gmpm-xp43-f7g6","Warn: Project is vulnerable to: GHSA-pf27-929j-9pmm","Warn: Project is vulnerable to: GHSA-327c-qx3v-h673","Warn: Project is vulnerable to: GHSA-x4cf-6jr3-3qvp","Warn: Project is vulnerable to: GHSA-mph8-6787-r8hw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-v8v8-6859-qxm4","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-4cpg-3vgw-4877","Warn: Project is vulnerable to: GHSA-7f53-fmmv-mfjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-gff7-g5r8-mg8m","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T19:57:30.773Z","repository_id":38456444,"created_at":"2025-08-18T19:57:30.773Z","updated_at":"2025-08-18T19:57:30.773Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274777673,"owners_count":25347648,"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-09-12T02:00:09.324Z","response_time":60,"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":["finclip","mini-app","mini-program","react","react-native","sdk"],"created_at":"2025-06-10T00:10:32.903Z","updated_at":"2025-09-12T07:42:33.153Z","avatar_url":"https://github.com/finogeeks.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.finclip.com?from=github\"\u003e\n    \u003cimg width=\"auto\" src=\"https://www.finclip.com/mop/document/images/logo.png\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e \n    \u003cstrong\u003eFinClip React Native SDK\u003c/strong\u003e\u003c/br\u003e\n\u003cp\u003e\n\u003cp align=\"center\"\u003e \n        本项目提供在 React Native 环境中运行小程序的能力\n\u003cp\u003e\n\n\u003cp align=\"center\"\u003e \n\t👉 \u003ca href=\"https://www.finclip.com?from=github\"\u003ehttps://www.finclip.com/\u003c/a\u003e 👈\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/badge/%E4%B8%93%E5%B1%9E%E5%BC%80%E5%8F%91%E8%80%85-20000%2B-brightgreen\"\u003e\u003c/a\u003e\n\u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/badge/%E5%B7%B2%E4%B8%8A%E6%9E%B6%E5%B0%8F%E7%A8%8B%E5%BA%8F-6000%2B-blue\"\u003e\u003c/a\u003e\n\u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/badge/%E5%B7%B2%E9%9B%86%E6%88%90%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%BA%94%E7%94%A8-75%2B-yellow\"\u003e\u003c/a\u003e\n\u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/badge/%E5%AE%9E%E9%99%85%E8%A6%86%E7%9B%96%E7%94%A8%E6%88%B7-2500%20%E4%B8%87%2B-orange\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://www.zhihu.com/org/finchat\"\u003e\u003cimg src=\"https://img.shields.io/badge/FinClip--lightgrey?logo=zhihu\u0026style=social\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.finclip.com/blog/\"\u003e\u003cimg src=\"https://img.shields.io/badge/FinClip%20Blog--lightgrey?logo=ghost\u0026style=social\"\u003e\u003c/a\u003e\n\n\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[官方网站](https://www.finclip.com/) | [示例小程序](https://www.finclip.com/#/market) | [开发文档](https://www.finclip.com/mop/document/) | [部署指南](https://www.finclip.com/mop/document/introduce/quickStart/cloud-server-deployment-guide.html) | [SDK 集成指南](https://www.finclip.com/mop/document/introduce/quickStart/intergration-guide.html) | [API 列表](https://www.finclip.com/mop/document/develop/api/overview.html) | [组件列表](https://www.finclip.com/mop/document/develop/component/overview.html) | [隐私承诺](https://www.finclip.com/mop/document/operate/safety.html)\n\n\u003c/div\u003e\n\n-----\n## 🤔 FinClip 是什么?\n\n有没有**想过**，开发好的微信小程序能放在自己的 APP 里直接运行，只需要开发一次小程序，就能在不同的应用中打开它，是不是很不可思议？\n\n有没有**试过**，在自己的 APP 中引入一个 SDK ，应用中不仅可以打开小程序，还能自定义小程序接口，修改小程序样式，是不是觉得更不可思议？\n\n这就是 FinClip ，就是有这么多不可思议！\n\n## ⚙️ 配置环境\n\n`$ npm install react-native-mopsdk --save`\n\n## 🖥 自动安装\n\n`$ react-native link react-native-mopsdk`\n\n## 🔨 使用方法\n```javascript\nimport MopSDK from 'react-native-mopsdk';\nimport { NativeModules, NativeEventEmitter } from 'react-native';\n\n// 初始化\nconst eventEmitter = new NativeEventEmitter(NativeModules.FINMopSDK);\n  MopSDK.initialize({\n    appkey:\n      'Ev7QHvml1UcW98Y1GaLfRz34ReffbDESaTXbCoFyKhEm0a3gam0elOOOdZ6Twpa3HkBzlvOwJ2cyhOrMVWuuGw==',\n    secret: '16f2d2700453ae51',\n    apiServer: 'https://api.finclip.com',\n    apiPrefix: '/api/v1/mop/',\n    nativeEventEmitter: eventEmitter,\n    finMopSDK: NativeModules.FINMopSDK,\n  }).then(res =\u003e {\n    console.log('初始化成功')\n  }).catch(err =\u003e {\n    console.log('初始化失败')\n  })\n\n```\n## 🔨 使用方法\n```javascript\nimport MopSDK from 'react-native-mopsdk';\nimport { NativeModules, NativeEventEmitter } from 'react-native';\n\n/**\n * @description Initialize the SDK with specific configurations\n * @param {Object} params - Configuration parameters\n */\nMopSDK.initSDK = function(params) {\n  return new Promise((resolve, reject) =\u003e {\n    // 这里假设 params 中已经包含了 config 和 uiConfig\n    let { config, uiConfig } = params;\n\n    // 确保 config 和 uiConfig 是有效的对象\n    if (!config || typeof config !== 'object' || !uiConfig || typeof uiConfig !== 'object') {\n      reject(new Error('Invalid config or uiConfig'));\n      return;\n    }\n\n    // 调用原生模块的 initSDK 方法\n    NativeModules.FINMopSDK.initSDK({ config, uiConfig }).then(res =\u003e {\n      console.log('SDK 初始化成功');\n      resolve(res);\n    }).catch(err =\u003e {\n      console.error('SDK 初始化失败', err);\n      reject(err);\n    });\n  });\n};\n\n// 使用示例\nconst eventEmitter = new NativeEventEmitter(NativeModules.FINMopSDK);\nMopSDK.initSDK({\n  config: {\n    appkey: '您的appkey',\n    secret: '您的secret',\n    apiServer: 'https://api.finclip.com',\n    apiPrefix: '/api/v1/mop/',\n    // 其他相关的配置项\n  },\n  uiConfig: {\n    // UI 相关配置\n  }\n}).then(res =\u003e {\n  console.log('初始化成功');\n}).catch(err =\u003e {\n  console.log('初始化失败', err);\n});\n\n```\n\n## 📱 DEMO\n[点击这里](https://github.com/finogeeks/finclip-react-native-demo) 查看 React Native Demo\n\n## 📋 接口文档\n[点击这里](https://www.finclip.com/mop/document/runtime-sdk/reactNative/rn-integrate.html) 查看 React Native 快速集成文档\n\n## 🔗 常用链接\n以下内容是您在 FinClip 进行开发与体验时，常见的问题与指引信息\n\n- [FinClip 官网](https://www.finclip.com/#/home)\n- [示例小程序](https://www.finclip.com/#/market)\n- [文档中心](https://www.finclip.com/mop/document/)\n- [SDK 部署指南](https://www.finclip.com/mop/document/introduce/quickStart/intergration-guide.html)\n- [小程序代码结构](https://www.finclip.com/mop/document/develop/guide/structure.html)\n- [iOS 集成指引](https://www.finclip.com/mop/document/runtime-sdk/ios/ios-integrate.html)\n- [Android 集成指引](https://www.finclip.com/mop/document/runtime-sdk/android/android-integrate.html)\n- [Flutter 集成指引](https://www.finclip.com/mop/document/runtime-sdk/flutter/flutter-integrate.html)\n\n## ☎️ 联系我们\n微信扫描下面二维码，关注官方公众号 **「凡泰极客」**，获取更多精彩内容。\u003cbr\u003e\n\u003cimg width=\"150px\" src=\"https://www.finclip.com/mop/document/images/ic_qr.svg\"\u003e\n\n微信扫描下面二维码，加入官方微信交流群，获取更多精彩内容。\u003cbr\u003e\n\u003cimg width=\"150px\" src=\"https://www-cdn.finclip.com/images/qrcode/qrcode_shequn_text.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinogeeks%2Freact-native-mopsdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinogeeks%2Freact-native-mopsdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinogeeks%2Freact-native-mopsdk/lists"}