Skip to content

Commit

Permalink
udpate to 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
huangminlinux committed Sep 21, 2017
1 parent 2faacf2 commit 5324614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion example/react-native-ios/main_activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const {
StyleSheet,
TextInput,
Keyboard,
Alert,
TouchableWithoutFeedback,
NativeAppEventEmitter,
ScrollView
Expand Down Expand Up @@ -388,7 +389,10 @@ export default class MainActivity extends React.Component {
<FormButton
title="getUserInfo"
onPress={ () => {
JShareModule.getSocialUserInfo({platform:'qq'}, (success) => {}, (error) => {})
JShareModule.getSocialUserInfo({platform:'qq'}, (success) => {
Alert.alert(JSON.stringify(success))
}, (error) => {})

}}
/>
</ScrollView>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jshare-react-native",
"version": "1.0.4",
"version": "1.0.5",
"description": "JShare SDK for react native",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 5324614

Please sign in to comment.