Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up on disconnect #1910

Merged
merged 1 commit into from
Aug 31, 2022
Merged

Conversation

andresesfm
Copy link
Contributor

@andresesfm andresesfm commented Aug 31, 2022

When opening and closing connections, some pieces of data (particularly promises) were being kept possibly causing memory leaks and duplicate calls

@andresesfm andresesfm merged commit 65342bb into hyochan:main Aug 31, 2022
@andresesfm andresesfm deleted the clean_up_on_disconnect branch August 31, 2022 21:27
andresesfm added a commit that referenced this pull request Aug 31, 2022
* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* lint

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>
andresesfm added a commit that referenced this pull request Sep 3, 2022
* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

Co-authored-by: Andres Aguilar <andres.aguilar@nfl.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>
@andresesfm andresesfm mentioned this pull request Sep 6, 2022
andresesfm added a commit that referenced this pull request Sep 6, 2022
* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

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

* Fix subscriptionOffers promise rejected (#1926)

Fix wrong promise rejected

Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Docs/refactor (#1927)

* docs: update RNIap star import

* docs: remove deprecated stuff

* refactor: start updating the documentation and splitting it up

* docs: more changes

* fix lint

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

* 10.0.6

* merge fix

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>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>
andresesfm added a commit that referenced this pull request Sep 8, 2022
* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

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

* Fix subscriptionOffers promise rejected (#1926)

Fix wrong promise rejected

Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Docs/refactor (#1927)

* docs: update RNIap star import

* docs: remove deprecated stuff

* refactor: start updating the documentation and splitting it up

* docs: more changes

* fix lint

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

* 10.0.6

* fixed promise reject for buyProductWithQuantityIOS (#1931)

Co-authored-by: Alex <alex.shumihin921227@gmail.com>

* create event emitter only when needed (#1932)

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

* 10.0.7

* Add types to native modules (#1934)

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

* 10.1.0

* Added types to Sk2

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>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>
Co-authored-by: Alex Shumihin <conter10@mail.ru>
Co-authored-by: Alex <alex.shumihin921227@gmail.com>
andresesfm added a commit that referenced this pull request Sep 11, 2022
* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

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

* Fix subscriptionOffers promise rejected (#1926)

Fix wrong promise rejected

Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Docs/refactor (#1927)

* docs: update RNIap star import

* docs: remove deprecated stuff

* refactor: start updating the documentation and splitting it up

* docs: more changes

* fix lint

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

* 10.0.6

* fixed promise reject for buyProductWithQuantityIOS (#1931)

Co-authored-by: Alex <alex.shumihin921227@gmail.com>

* create event emitter only when needed (#1932)

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

* 10.0.7

* Add types to native modules (#1934)

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

* 10.1.0

* Generate API documentation from code using typedoc (#1937)

* Generate API documentation from code using typedoc

* ignore generated doc from prettier

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

* generate api documentation (#1938)

* Generate API documentation from code using typedoc

* ignore generated doc from prettier

* remove dup readme

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

* Delete README.md

* ignore known broken links (#1939)

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

* Remove generated docs and gen on publish (#1941)

* Remove generated docs and gen on publish

* fix lint

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

* add doc on migrating to 10.x.x (#1942)

* add doc on migrating to 10.x.x

* docs gen fix

* fix lint

* lint

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

* try parameters

* call typedoc directly

* relative path

* call yarn on iapExample

* ignore gen error

* test two methods (#1943)

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

* moved more documentation to code (#1944)

* moved more documentation to code

* added other common methods

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

* add ko-fi links (#1945)

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

* Create requestSubscription and requestProduct types (#1946)

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

* fix merge conflict

* fix missing method

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>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>
Co-authored-by: Alex Shumihin <conter10@mail.ru>
Co-authored-by: Alex <alex.shumihin921227@gmail.com>
andresesfm added a commit that referenced this pull request Sep 14, 2022
* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

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

* Fix subscriptionOffers promise rejected (#1926)

Fix wrong promise rejected

Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Docs/refactor (#1927)

* docs: update RNIap star import

* docs: remove deprecated stuff

* refactor: start updating the documentation and splitting it up

* docs: more changes

* fix lint

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

* 10.0.6

* fixed promise reject for buyProductWithQuantityIOS (#1931)

Co-authored-by: Alex <alex.shumihin921227@gmail.com>

* create event emitter only when needed (#1932)

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

* 10.0.7

* Add types to native modules (#1934)

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

* 10.1.0

* Generate API documentation from code using typedoc (#1937)

* Generate API documentation from code using typedoc

* ignore generated doc from prettier

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

* generate api documentation (#1938)

* Generate API documentation from code using typedoc

* ignore generated doc from prettier

* remove dup readme

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

* Delete README.md

* ignore known broken links (#1939)

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

* Remove generated docs and gen on publish (#1941)

* Remove generated docs and gen on publish

* fix lint

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

* add doc on migrating to 10.x.x (#1942)

* add doc on migrating to 10.x.x

* docs gen fix

* fix lint

* lint

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

* try parameters

* call typedoc directly

* relative path

* call yarn on iapExample

* ignore gen error

* test two methods (#1943)

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

* moved more documentation to code (#1944)

* moved more documentation to code

* added other common methods

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

* add ko-fi links (#1945)

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

* Create requestSubscription and requestProduct types (#1946)

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

* 2.1.0 (#1948)

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

* add funding option

* Update get-started.md (#1949)

* docs: remove from maintainer (#1951)

* fix merge error

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>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>
Co-authored-by: Alex Shumihin <conter10@mail.ru>
Co-authored-by: Alex <alex.shumihin921227@gmail.com>
Co-authored-by: xiao xin <super.xhmm@outlook.com>
andresesfm added a commit that referenced this pull request Sep 26, 2022
* 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>

* product purchase lifecycle (#1888)

* Able to purchase products

* swift lint

* fixed lint issues, removed methods

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

* ios complete purchase (#1891)

* @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.

* Able to complete a consumable purchase

* Fix lint issues

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>

* ios complete subscription (#1892)

* @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.

* Able to complete a consumable purchase

* Fix lint issues

* Able to complete subscriptions

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>

* getAvailableItems

* Reverted some files to maintain backwards compatibility (#1897)

* Reverted some files to maintain backwards compatibility

* use productId

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

* Integrating 10.0.1 (#1902)

* @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>

* Backwards compatibility1 (#1903)

* Reverted some files to maintain backwards compatibility

* use productId

* fixed subs and prod purchases

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

* integrate main (#1904)

* @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>

* backwards compatibility2 (#1906)

* Brought back old class, renamed new one

* add switch between versions

* format

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

* 11.0.0-alpha.1

* integrate main 10 0 2 (#1908)

* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

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>

* integrate 10 0 3 (#1911)

* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* lint

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>

* more changes to ensure backward compatibility (#1912)

* more changes to ensure backward compatibility

* Added missing method

* mark ios15-only logic

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

* merge from main (#1919)

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

* 11.0.0-alpha.2

* change release type

* 11.0.0-alpha.3

* remove restriction

* tweak the type again

* 11.0.0-alpha.4

* one more tweak

* 11.0.0-alpha.5

* only check for type

* 11.0.0-alpha.6

* Merge branch 'main' into integrate_main_10_0_4 (#1924)

* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

Co-authored-by: Andres Aguilar <andres.aguilar@nfl.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>

* integrate 10 0 5 (#1928)

* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

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

* Fix subscriptionOffers promise rejected (#1926)

Fix wrong promise rejected

Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Docs/refactor (#1927)

* docs: update RNIap star import

* docs: remove deprecated stuff

* refactor: start updating the documentation and splitting it up

* docs: more changes

* fix lint

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

* 10.0.6

* merge fix

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>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Use Sk2 if avaiable (#1929)

* Use Sk2 if avaiable

* sk2 val optional

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

* Integrate_10_1_0 (#1935)

* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

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

* Fix subscriptionOffers promise rejected (#1926)

Fix wrong promise rejected

Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Docs/refactor (#1927)

* docs: update RNIap star import

* docs: remove deprecated stuff

* refactor: start updating the documentation and splitting it up

* docs: more changes

* fix lint

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

* 10.0.6

* fixed promise reject for buyProductWithQuantityIOS (#1931)

Co-authored-by: Alex <alex.shumihin921227@gmail.com>

* create event emitter only when needed (#1932)

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

* 10.0.7

* Add types to native modules (#1934)

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

* 10.1.0

* Added types to Sk2

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>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>
Co-authored-by: Alex Shumihin <conter10@mail.ru>
Co-authored-by: Alex <alex.shumihin921227@gmail.com>

* 11.0.0-alpha.7

* Integrate_doc_changes (#1947)

* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

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

* Fix subscriptionOffers promise rejected (#1926)

Fix wrong promise rejected

Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Docs/refactor (#1927)

* docs: update RNIap star import

* docs: remove deprecated stuff

* refactor: start updating the documentation and splitting it up

* docs: more changes

* fix lint

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

* 10.0.6

* fixed promise reject for buyProductWithQuantityIOS (#1931)

Co-authored-by: Alex <alex.shumihin921227@gmail.com>

* create event emitter only when needed (#1932)

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

* 10.0.7

* Add types to native modules (#1934)

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

* 10.1.0

* Generate API documentation from code using typedoc (#1937)

* Generate API documentation from code using typedoc

* ignore generated doc from prettier

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

* generate api documentation (#1938)

* Generate API documentation from code using typedoc

* ignore generated doc from prettier

* remove dup readme

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

* Delete README.md

* ignore known broken links (#1939)

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

* Remove generated docs and gen on publish (#1941)

* Remove generated docs and gen on publish

* fix lint

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

* add doc on migrating to 10.x.x (#1942)

* add doc on migrating to 10.x.x

* docs gen fix

* fix lint

* lint

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

* try parameters

* call typedoc directly

* relative path

* call yarn on iapExample

* ignore gen error

* test two methods (#1943)

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

* moved more documentation to code (#1944)

* moved more documentation to code

* added other common methods

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

* add ko-fi links (#1945)

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

* Create requestSubscription and requestProduct types (#1946)

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

* fix merge conflict

* fix missing method

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>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>
Co-authored-by: Alex Shumihin <conter10@mail.ru>
Co-authored-by: Alex <alex.shumihin921227@gmail.com>

* removed legacy buy methods (#1950)

* removed legacy buy methods

* export isSk2 function

* fix swift lint

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

* 11.0.0-beta.1

* reorganized methods by platform (#1954)

* reorganized methods by platform

* added export from plugin

* split import/ export

* same for other imports

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

* Integrate doc changes from main (#1959)

* @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>

* revert to default 4 spaces (#1907)

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

* 10.0.2

* Clean up on disconnect (#1910)

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

* 10.0.3

* Updated announcements

* only publish on main and prerelease on next (#1918)

* only publish on main and prerelease on next

* fix lint

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

* Interrupted error iOS (#1921)

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

* 10.0.4

* fix publish package (#1922)

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

* 10.0.5

* simplify int to string (#1923)

sinplify int to string

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

* Fix subscriptionOffers promise rejected (#1926)

Fix wrong promise rejected

Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>

* Docs/refactor (#1927)

* docs: update RNIap star import

* docs: remove deprecated stuff

* refactor: start updating the documentation and splitting it up

* docs: more changes

* fix lint

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

* 10.0.6

* fixed promise reject for buyProductWithQuantityIOS (#1931)

Co-authored-by: Alex <alex.shumihin921227@gmail.com>

* create event emitter only when needed (#1932)

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

* 10.0.7

* Add types to native modules (#1934)

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

* 10.1.0

* Generate API documentation from code using typedoc (#1937)

* Generate API documentation from code using typedoc

* ignore generated doc from prettier

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

* generate api documentation (#1938)

* Generate API documentation from code using typedoc

* ignore generated doc from prettier

* remove dup readme

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

* Delete README.md

* ignore known broken links (#1939)

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

* Remove generated docs and gen on publish (#1941)

* Remove generated docs and gen on publish

* fix lint

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

* add doc on migrating to 10.x.x (#1942)

* add doc on migrating to 10.x.x

* docs gen fix

* fix lint

* lint

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

* try parameters

* call typedoc directly

* relative path

* call yarn on iapExample

* ignore gen error

* test two methods (#1943)

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

* moved more documentation to code (#1944)

* moved more documentation to code

* added other common methods

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

* add ko-fi links (#1945)

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

* Create requestSubscription and requestProduct types (#1946)

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

* 2.1.0 (#1948)

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

* add funding option

* Update get-started.md (#1949)

* docs: remove from maintainer (#1951)

* fix merge error

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>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>
Co-authored-by: Alex Shumihin <conter10@mail.ru>
Co-authored-by: Alex <alex.shumihin921227@gmail.com>
Co-authored-by: xiao xin <super.xhmm@outlook.com>

* Exporting new methods on Sk2 (#1960)

* Exporting new methods on Sk2

* swiftlint

* Added migration documentation

* lint

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

* 11.0.0-rc.1

* fix undefined android purchase (#1964)

* fixes possible invalid transformation on android

* lint doc

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

* 11.0.0-rc.2

* added types and fixed pending TODOs (#1965)

* added types and fixed pending TODOs

* fix lint

* swift lint

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

* Uses transactionUpdated listener for Sk2 (#1966)

* Uses transactionUpdated listener for Sk2

* swiftlint

* Added optional parameter alsoPublishToEventListener

* lint doc

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

* 11.0.0-rc.3

* disable sk1 (#1979)

* from main

* fixes withOffer type

* Added setup method, disableing unused module if available

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

* 11.0.0-rc.4

* chore: use named export in docs for 11.0.0 migration (#1986)

* fix get available items (#1988)

* fix get available items

* fix lint

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

* 11.0.0-rc.5

* sk2 runtime older devices (#1994)

* Sk2 availability on older devices fix

* lint

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

* 11.0.0-rc.6

* fixed hybrid mode and empty subscriptions (#1996)

* fixed hybrid mode and empty subscriptions

* lint

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

* 11.0.0-rc.7

* fix version

* remove docs

* delete renamed file

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>
Co-authored-by: Abdelalim-dev <abdelalim.dev@gmail.com>
Co-authored-by: Abdelalim <abdelalim.hassouna@gmail.com>
Co-authored-by: Ionita Mihai Sebastian <61599114+likesebiii@users.noreply.github.com>
Co-authored-by: Mihai-Sebastian Ionita <like.sebiii@gmail.com>
Co-authored-by: Alex Shumihin <conter10@mail.ru>
Co-authored-by: Alex <alex.shumihin921227@gmail.com>
Co-authored-by: xiao xin <super.xhmm@outlook.com>
Co-authored-by: Manuel Bieh <github@manuelbieh.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant