🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@yiheyang/jshare-react-native

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yiheyang/jshare-react-native

JShare SDK for react native application

1.4.6
latest
Source
npm
Version published
Weekly downloads
13
550%
Maintainers
1
Weekly downloads
 
Created
Source

jshare-react-native

Install

npm install jshare-react-native --save
npm install jcore-react-native --save
react-native link
Add with CocoaPods(if you integrated react-native to native iOS project)

Add the JShareRN pod to your list of application pods in your Podfile, using the path from the Podfile to the installed module:

pod 'JShareRN', :path => '../node_modules/jshare-react-native'
pod 'JCoreRN', :path => '../node_modules/jcore-react-native'

Install pods as usual::

pod install

Manually Configure Part

Android

  • Checkout configuration
  • Add JSharePackage, Don't forget the parameters !
  • Checkout AndroidManifest
  • Add JGShareSDK.xml
  • Add WXEntryActivity
  • Add JChatProCallbackActivity

That's it.

iOS

Usage

  • Import JShareModule:

    your component.js

    ...
    import JShareModule from 'jshare-react-native';
    JShareModule.setup(param) // iOS 调用该方法才能正常使用, param 参考 API 文档
    
  • Use JShareModule call APIs, API Document

Keywords

JShare

FAQs

Package last updated on 17 Jan 2022

Did you know?

Socket

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