Socket
Socket
Sign inDemoInstall

react-native-mbaichuan

Package Overview
Dependencies
0
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-mbaichuan

react-native library for Ali Baichuan


Version published
Weekly downloads
125
increased by111.86%
Maintainers
1
Install size
4.33 MB
Created
Weekly downloads
 

Readme

Source

react-native-mbaichuan

npm version

开始

$ npm install react-native-mbaichuan --save

iOS

打开ios/Podfile文件,添加以下(百川仓库)

require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
·······
source 'https://github.com/CocoaPods/Specs.git'
source 'http://repo.baichuan-ios.taobao.com/baichuanSDK/AliBCSpecs.git'

·······
target

其他配置

iOS
  1. yw_1222.jpg 重命名为 yw_1222_baichuan.jpg 拖入到项目中
  2. URL Schemes 添加 tbopen + 百川APPID
  3. LSApplicationQueriesSchemes 添加 tmalltbopen
Android
  1. 复制百川安全图片 yw_1222.jpgandroid/app/src/main/res/drawable/yw_1222.jpg

使用方法

详见examples目录

Keywords

FAQs

Last updated on 09 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc