Skip to content

Commit

Permalink
Integrating 10.0.1 (#1902)
Browse files Browse the repository at this point in the history
* @ReactModule annotation (#1886)

Co-authored-by: Andres Aguilar <andres.aguilar@nfl.com>

* 10.0.1

* product purchase lifecycle (#1885)

* ci: replace publication for next branch

* refactor!: create a PurchaseError class (#1866)

* refactor!: remove support for default export (#1864)

* chore: clean up non existing errors (#1868)

* chore: move some logic into internal files (#1871)

* refactor: extract event-emitter to specific file (#1872)

* refactor!: make all methods take an object of params (#1873)

* integrate ios storekit 2 (#1882)

* set min ios version to 15

* consolidated buy methods

* removed checks for older versions of ios

* cleared most errors

* swiftlint

* continue migration, purchases

* return promises to class

* moved utils to ios

* clean up promises and error codes

* serialized Transactions

* removed remaining old methods, added serialization

* default to Xcode 4 spaces

* Split files

* Added more transaction methods

* removed global autofinish

* fix lint on doc

Co-authored-by: Andres Aguilar <andres.aguilar@nfl.com>

* Able to purchase products

* swift lint

* fixed lint issues, removed methods

Co-authored-by: hyochan <dooboolab@gmail.com>
Co-authored-by: Jérémy Barbet <jeremgraph@gmail.com>
Co-authored-by: Andres Aguilar <andres.aguilar@nfl.com>

* Revert "product purchase lifecycle" (#1887)

Revert "product purchase lifecycle (#1885)"

This reverts commit 7f9ff8e.

* docs: Fixed getProducts signature (#1896)

* Fixed getProducts signature

In the source code, we have an object with one attribute skus

export declare const getProducts: ({ skus, }: {
    skus: string[];
}) => Promise<Array<Product>>;

* docs: Fixed getProducts signature

In the source code, we have an object with one attribute skus

export declare const getProducts: ({ skus, }: {
    skus: string[];
}) => Promise<Array<Product>>;

Co-authored-by: Abdelalim <abdelalim.hassouna@gmail.com>

Co-authored-by: Andres Aguilar <andres.aguilar@nfl.com>
Co-authored-by: hyochan <dooboolab@gmail.com>
Co-authored-by: Jérémy Barbet <jeremgraph@gmail.com>
Co-authored-by: Abdelalim-dev <abdelalim.dev@gmail.com>
Co-authored-by: Abdelalim <abdelalim.hassouna@gmail.com>
  • Loading branch information
6 people authored Aug 30, 2022
1 parent 334c153 commit e6f7071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/usage_instructions/retrieve_available.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import * as RNIap from 'react-native-iap';

async componentDidMount() {
try {
const products: Product[] = await RNIap.getProducts(productIds);
const products: Product[] = await RNIap.getProducts({skus: productIds});
this.setState({ products });
} catch(err) {
console.warn(err); // standardized err.code and err.message available
Expand Down

0 comments on commit e6f7071

Please sign in to comment.