jshare-react-native

1.4.3 • Public • Published

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

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i jshare-react-native

      Weekly Downloads

      41

      Version

      1.4.3

      License

      MIT

      Unpacked Size

      10.4 MB

      Total Files

      39

      Last publish

      Collaborators

      • jpush
      • kenchoi
      • huminios
      • josh_lipan
      • wicked-tc130
      • weiruiyang