Skip to content

Commit

Permalink
Added preferences method to JS side
Browse files Browse the repository at this point in the history
  • Loading branch information
ital0 committed Mar 5, 2018
1 parent ddca4ac commit fea5686
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const RNSumUp = {
return (Platform.OS === 'ios') ? RNSumUpWrapper.checkout(request) : RNSumUpWrapper.checkout(this.apiKey, request.totalAmount, request.name);
},

preferences() {
return RNSumUpWrapper.preferences();
},

isLoggedIn() {
return (Platform.OS === 'ios') ? RNSumUpWrapper.isLoggedIn() : this.isLoggedIn();
}
Expand Down

0 comments on commit fea5686

Please sign in to comment.