{"id":28591221,"url":"https://github.com/haxibiao/react-native-ad","last_synced_at":"2025-06-11T09:14:04.363Z","repository":{"id":57335026,"uuid":"282120461","full_name":"haxibiao/react-native-ad","owner":"haxibiao","description":"通用广告 sdk 封装模块，穿山甲新的 gromore 聚合 sdk 已经完成重构且支持新旧 rn 架构，欢迎邮件或微信联系","archived":false,"fork":false,"pushed_at":"2024-09-15T10:30:06.000Z","size":46034,"stargazers_count":60,"open_issues_count":5,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-09-15T12:49:03.548Z","etag":null,"topics":["ads","gromore","react-native","react-native-ad"],"latest_commit_sha":null,"homepage":"http://docs.ads.zmkj6.top","language":"Java","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/haxibiao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-24T04:13:23.000Z","updated_at":"2024-09-15T10:30:10.000Z","dependencies_parsed_at":"2023-02-09T19:15:54.472Z","dependency_job_id":null,"html_url":"https://github.com/haxibiao/react-native-ad","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxibiao%2Freact-native-ad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxibiao%2Freact-native-ad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxibiao%2Freact-native-ad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxibiao%2Freact-native-ad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haxibiao","download_url":"https://codeload.github.com/haxibiao/react-native-ad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxibiao%2Freact-native-ad/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259236396,"owners_count":22826309,"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":["ads","gromore","react-native","react-native-ad"],"created_at":"2025-06-11T09:13:52.123Z","updated_at":"2025-06-11T09:14:04.349Z","avatar_url":"https://github.com/haxibiao.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-ad\n[![npm version](https://badge.fury.io/js/react-native-ad.svg)](https://badge.fury.io/js/react-native-ad)  [![GitHub stars](https://img.shields.io/github/stars/haxibiao/react-native-ad?style=social)](https://github.com/haxibiao/react-native-ad/stargazers)\n\n\n\u003e [!TIP]\n\u003e **TIP:** 目前项目组正在重写一个新的依赖包 react-native-gromore（包含穿山甲，优量汇，百度，快手等平台的广告 SDK，更通用和易扩展），为了项目可持续发展以及维护投入故此暂不开源，如果您有商业合作需要可以 [联系我们](#联系我们-) 购买源码以及技术支持。购买源码后，我们将提供完整源代码以及全方位的对接技术支持和可持续的售后技术服务。\n\n\u003e [!IMPORTANT]\n\u003e \u003cp class=\"tip\"\u003e目前穿山甲已推荐对接聚合 GroMore 广告 SDK，我们已经在 React Native 中完成 GroMore 全部广告类型的对接以及 RN 新旧架构，访问 \u003ca href=\"http://docs.ads.zmkj6.top\"\u003ehttp://docs.ads.zmkj6.top\u003c/a\u003e 可查看 react-native-gromore 对接文档，也可以通过 \u003ca href=\"#联系我们-\"\u003e联系我们\u003c/a\u003e 获得源码。\u003c/p\u003e\n\n### 注意事项\n\n```\n穿山甲的，记得全部重新申请代码位，因为穿山甲马上要弃用旧代码位，必须全部是支持模板渲染的代码位\n```\n\n### 安装方法 🔨\n\n目前已经发布 NPM 和 Github，并且支持 npm 和 yarn 两种安装方式，两种平台和两种安装方式任选其一就好。\n\n```\n\n# yarn for origin\n$ yarn add react-native-ad\n\n# npm for npmjs\n$ npm i -D react-native-ad\n\n\n\n# yarn for Github \n$ yarn add git+https://github.com/haxibiao/react-native-ad.git\n\n# npm for Github\n$ npm install git+https://github.com/haxibiao/react-native-ad.git\n\n```\n\n\n### 文档地址 🍎\n\n-   **如何对接文档**\n    -   [创建获取 appId 和代码位 codeId](docs/readme.md#创建获取appid和代码位codeid)\n    -   [安装配置 react-native-ad 模块](docs/readme.md#安装配置react-native-ad模块)\n    -   [开屏（Splash）广告的对接及示例](docs/readme.md#开屏splash广告的对接及示例)\n    -   [激励视频（RewardVideo）广告的对接及示例](docs/readme.md#激励视频rewardvideo广告的对接及示例)\n    -   [全屏视频（FullVideo）广告的对接及示例](docs/readme.md#全屏视频fullVideo广告的对接及示例)\n    -   [信息流（Feed）广告的对接及示例](docs/readme.md#信息流feed广告的对接及示例)\n    -   [视频信息流（DrawFeed）广告的对接及示例](docs/readme.md#视频信息流drawfeed广告的对接及示例)\n    -   [横幅（Banner）广告的对接及示例](docs/readme.md#横幅banner广告的对接及示例)\n    -   [常见问题及模块更新](docs/readme.md#常见问题及模块更新)\n    -   [更新日志](docs/readme.md#更新日志)\n\n### 更新模块 🍗\n\n怎么查看当前版本？执行 `yarn list | grep \"react-native-ad\"`，将会输出你当前项目安装的 react-native-ad 版本\n\n然后可以使用 npm update 来更新模块\n\n```\n$ npm update react-native-ad\n```\n\n或者使用 yarn upgrade 来更新\n\n```\n$ yarn upgrade react-native-ad\n```\n\n### 联系我们 👾\n\u003e 由于团队以及产品方向问题，该包的维护越来越困难。目前有计划考虑社区共同维护，订阅方式捐赠，付费技术支持等一系列方式，将收益用于持续跟踪 issues 和提供 SDK 升级迭代，同时也能够让该项目可持续发展下去，有订阅或付费意向的小伙伴们可以联系我\n\n\u003e BY. [@PBK-B](https://github.com/PBK-B)\n\n\u003e Email: bin@PBK6.cn\n\n\u003e 微信: tzmax_\n\u003e\n\u003e \u003cimg src=\"docs/assets/bindeqrcode.jpg\" alt=\"ad_anim_none.gif\" width=\"260\"\u003e\n\u003e \n\u003e 添加好友请附上备注 \"react-native-ad 商务\"\n\n\n### 特别鸣谢\n\u003e 感谢 JetBrains 提供了优秀的 IDE 和授权的开源许可。\n\n\u003e Thanks to jetbrains for providing great IDEs and open source licensing\n\n[\u003cimg src=\"docs/assets/jetbrains-variant.png\" alt=\"ad_anim_none.gif\" width=\"160\"\u003e](https://www.jetbrains.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxibiao%2Freact-native-ad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaxibiao%2Freact-native-ad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxibiao%2Freact-native-ad/lists"}