jshare-react-native-gizwits
v1.4.6
Published
iOS登录成功后返回数据增加state字段
Downloads
9
Readme
jshare-react-native
Install
npm install jshare-gizwits-react-native --save
npm install jcore-gizwits-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-gizwits-react-native'
pod 'JCoreRN', :path => '../node_modules/jcore-gizwits-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