Skip to content

Commit

Permalink
Updated reamdme.
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Jan 23, 2018
1 parent 9d15219 commit 40b3658
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ Also there are some other methods that is not supported in ios and implemented i
+ Able to call prepareAndroid() function without any conditional statement like if (Platform.OS === 'android'). Just use it.
+ Updated Readme.
- **[0.1.10]**
+ Updated Readme.
- **[0.1.9]**
+ Fixed potential bug relied on preparing IAP module in Android. Updated readme to see how to use it.

#### Methods
Expand All @@ -43,9 +41,9 @@ Also there are some other methods that is not supported in ios and implemented i
| buyItem | `string` | `Promise` | Purchase item. |
| buySubscribeItem | `string` | `Promise` | Buy subscription item. |
| refreshAllItems | | `Promise` | Refresh all items to make them available to buy again. |
| refreshPurchaseItemsAndroid | `string | null` | `Promise` | refresh purchased items for android. What is different from refreshAllItems is that this method can get parameter to refresh `INAPP` items or `SUBS` items.|
| getPurchaseItemsAndroid | `string | null` | `Promise` | get purchased items for android. This method also gets parameter to refresh `INAPP` items or `SUBS` items.|
| consumeItemAndroid | `string | null` | `Promise` | consume item for android. After buying some item from consumable item in android, you can use this method to consume it. Therefore you can purchase the item again. |
| refreshPurchaseItemsAndroid | `string` | `Promise` | refresh purchased items for android. What is different from refreshAllItems is that this method can get parameter to refresh `INAPP` items or `SUBS` items.|
| getPurchaseItemsAndroid | `string` | `Promise` | get purchased items for android. This method also gets parameter to refresh `INAPP` items or `SUBS` items.|
| consumeItemAndroid | `string` | `Promise` | consume item for android. After buying some item from consumable item in android, you can use this method to consume it. Therefore you can purchase the item again. |

## Npm repo
https://www.npmjs.com/package/react-native-iap
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": "react-native-iap",
"version": "0.2.1",
"version": "0.2.2",
"description": "",
"main": "index.js",
"postinstall": "dooboolab-welcome postinstall",
Expand Down

0 comments on commit 40b3658

Please sign in to comment.