Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
JJMoon committed Dec 30, 2017
1 parent 98769e2 commit bc89095
Show file tree
Hide file tree
Showing 4 changed files with 5,060 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -8,8 +8,6 @@
node_modules/
npm-debug.log
yarn-error.log
yarn.lock


# Xcode
#
Expand Down
6 changes: 4 additions & 2 deletions RNIapExample/src/components/pages/First.js
Expand Up @@ -95,6 +95,7 @@ class Page extends Component {
try {
console.log(' fetch history ', RNIap);
const rslts = await RNIap.fetchHistory();
console.log(rslts);
} catch(err) {
console.log(`${err}`);
Alert.alert(`${err}`);
Expand All @@ -112,10 +113,11 @@ class Page extends Component {
</View>
<View style={ styles.content }>
<ScrollView
style={{ alignSelf: 'stretch', }}
style={{ alignSelf: 'stretch' }}
>
<View style={{ height: 50 }} />
<NativeButton
onPress={() => this.fetchHistory()}
onPress={this.fetchHistory}
activeOpacity={0.5}
style={styles.btn}
textStyle={styles.txt}
Expand Down

0 comments on commit bc89095

Please sign in to comment.