Skip to content

Commit

Permalink
docs: change doc url
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Oct 17, 2024
1 parent 9634c34 commit 8fa3da1
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ labels: 'bug'
assignees: ''
---

> Please use the [Discussion board](https://github.com/dooboolab-community/react-native-iap/discussions) if you want to get some help. Please use issues to report bugs.
> Please use the [Discussion board](https://github.com/hyochan/react-native-iap/discussions) if you want to get some help. Please use issues to report bugs.
**Description**

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
publish_branch: gh-pages
cname: react-native-iap.dooboolab.com
cname: react-native-iap.hyo.dev
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"typescript.preferences.importModuleSpecifier": "relative",
"prettier.configPath": ".prettierrc.js",
"cSpell.words": [
"crossplatformkorea",
"hyochan"
]
}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## Changelog

Check out the [release notes](https://github.com/dooboolab-community/react-native-iap/releases).
Check out the [release notes](https://github.com/hyochan/react-native-iap/releases).
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2021 dooboolab
Copyright (c) 2024 hyochan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
[![Next Version](https://img.shields.io/npm/v/react-native-iap/next)](https://npmjs.org/package/react-native-iap)
[![Download](http://img.shields.io/npm/dm/react-native-iap.svg?style=flat-square)](https://npmjs.org/package/react-native-iap)
[![Backers and Sponsors](https://img.shields.io/opencollective/all/react-native-iap.svg)](https://opencollective.com/react-native-iap)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdooboolab%2Freact-native-iap.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdooboolab%2Freact-native-iap?ref=badge_shield)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%hyochan%2Freact-native-iap.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%hyochan%2Freact-native-iap?ref=badge_shield)

---

## Announcement

Announcing the Migration of react-native-iap to an Expo Module for Improved Maintenance and Compatibility in [discussion #2754](https://github.com/dooboolab-community/react-native-iap/discussions/2754).
Announcing the Migration of react-native-iap to an Expo Module for Improved Maintenance and Compatibility in [discussion #2754](https://github.com/hyochan/react-native-iap/discussions/2754).

## Documentation

Read the [documentation](https://react-native-iap.dooboolab.com). See the [troubleshooting](https://react-native-iap.dooboolab.com/docs/guides/troubleshooting#common-issues) for the common issues to avoid.
Read the [documentation](https://react-native-iap.hyochan.dev). See the [troubleshooting](https://react-native-iap.hyochan.dev/docs/guides/troubleshooting#common-issues) for the common issues to avoid.

## Logs

Expand All @@ -36,11 +36,11 @@ Read the [documentation](https://react-native-iap.dooboolab.com). See the [troub

- Version `8.0.0` is currently in release candidate. The module is completely rewritten with `Kotlin` and `Swift` for maintenenance issue by [andresesfm](https://github.com/andresesfm) 🔆. You may install this for early preview.

- React Native IAP hook is out. You can see [medium post](https://medium.com/dooboolab-community/announcing-react-native-iap-hooks-96c7ffd3f19a) on how to use it.
- React Native IAP hook is out. You can see [medium post](https://medium.com/hyochan/announcing-react-native-iap-hooks-96c7ffd3f19a) on how to use it.

- The `react-native-iap` module hasn't been maintained well recently. We are thinking of participating again and make the module healthier. Please refer to [2021 Maintenance plan](https://github.com/dooboolab-community/react-native-iap/issues/1241) and share with us how you or your organization is using it. Happy new year 🎉
- The `react-native-iap` module hasn't been maintained well recently. We are thinking of participating again and make the module healthier. Please refer to [2021 Maintenance plan](https://github.com/hyochan/react-native-iap/issues/1241) and share with us how you or your organization is using it. Happy new year 🎉

- The sample code is out in [Sponsor page](https://github.com/hyochan/dooboolab.com/blob/main/src/components/pages/Sponsor.tsx) in [dooboolab.com](https://github.com/hyochan/dooboolab.com) repository which sadly is rejected by Apple because of lacking product features. I will work on another example project to support this module. More information in [#1241 commment](https://github.com/dooboolab-community/react-native-iap/issues/1241#issuecomment-798540785).
- The sample code is out in [crossplatformkorea/CPK/pull/12](https://github.com/crossplatformkorea/CPK/pull/12). More information in [#1241 commment](https://github.com/hyochan/react-native-iap/issues/1241#issuecomment-798540785).

## Configuration of Play Store & App Store Connect

Expand All @@ -56,22 +56,22 @@ Follow [this guide](./IapExample/README.md) to get the example running.

| [NAMI](https://namiml.com) |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| <a href="https://namiml.com"><img src="https://github.com/dooboolab-community/react-native-iap/assets/27461460/89d71f61-bb73-400a-83bd-fe0f96eb726e" width="450"/></a> |
| <a href="https://namiml.com"><img src="https://github.com/hyochan/react-native-iap/assets/27461460/89d71f61-bb73-400a-83bd-fe0f96eb726e" width="450"/></a> |

## Past Sponsors

<a href="https://www.revenuecat.com"><img src="https://github.com/dooboolab-community/react-native-iap/assets/27461460/1e387a47-afe0-4b85-ad78-1064ca6623fa" width="200"/></a>
<a href="https://www.revenuecat.com"><img src="https://github.com/hyochan/react-native-iap/assets/27461460/1e387a47-afe0-4b85-ad78-1064ca6623fa" width="200"/></a>

Support this project by becoming a sponsor. Your logo will show up here with
a link to your website. [Buy me a coffee](https://www.buymeacoffee.com/dooboolab) or
a link to your website. [Buy me a coffee](https://www.buymeacoffee.com/hyochan) or
[Become a sponsor](https://opencollective.com/react-native-iap#sponsor).
<a href="https://opencollective.com/react-native-iap#sponsors" target="_blank"><img src="https://opencollective.com/react-native-iap/sponsors.svg?width=890" /></a>

## Need Help Implementing/Debugging/Testing your IAP project?

Please take a look at [iap.dev/consulting](https://iap.dev/consulting). At iap.dev, we offer IAP consulting services for all platforms. Please [Contact Us](https://console.iap.dev/contact-us).

Note: This service is not affiliated with dooboolab. It was created by [andresesfm](https://github.com/andresesfm) who has contributed and provided support for this project
Note: This service is not affiliated with hyochan. It was created by [andresesfm](https://github.com/andresesfm) who has contributed and provided support for this project

### Backers

Expand All @@ -80,11 +80,11 @@ Please be our [Backers](https://opencollective.com/react-native-iap#backer).

### Contributing

Please make sure to read the [Contributing Guide](https://github.com/dooboolab-community/react-native-iap/blob/main/CONTRIBUTING.md) before making a pull request.
Please make sure to read the [Contributing Guide](https://github.com/hyochan/react-native-iap/blob/main/CONTRIBUTING.md) before making a pull request.
Thank you to all the people who helped to maintain and upgrade this project!

<a href="graphs/contributors"><img src="https://opencollective.com/react-native-iap/contributors.svg?width=890" /></a>

---

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdooboolab%2Freact-native-iap.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdooboolab%2Freact-native-iap?ref=badge_large)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%hyochan%2Freact-native-iap.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%hyochan%2Freact-native-iap?ref=badge_large)
2 changes: 1 addition & 1 deletion RNIap.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.authors = package["author"]

s.platforms = { :ios => "10.0" , :tvos => "10.0", :visionos => "1.0" }
s.source = { :git => "https://github.com/dooboolab-community/react-native-iap.git", :tag => "#{s.version}" }
s.source = { :git => "https://github.com/hyochan/react-native-iap.git", :tag => "#{s.version}" }

s.source_files = "ios/*.{h,m,mm,swift}"

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api-reference/methods/ios/clear-transaction-ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

Clear the remaining transactions.

See https://github.com/dooboolab-community/react-native-iap/issues/257
See https://github.com/dooboolab-community/react-native-iap/issues/801
See https://github.com/hyochan/react-native-iap/issues/257
See https://github.com/hyochan/react-native-iap/issues/801

## Signature

Expand Down
10 changes: 5 additions & 5 deletions docs/docs/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ deepLinkToSubscriptions();
list of items to “purchase” before requesting purchase.

- Related [blog](https://medium.com/p/e4b55491479b).
- Related issue [#283](https://github.com/dooboolab-community/react-native-iap/issues/283).
- Related issue [#283](https://github.com/hyochan/react-native-iap/issues/283).

### How do I validate receipt in iOS?

- Official doc is [here](https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html).
- Resolved issues in [#203](https://github.com/dooboolab-community/react-native-iap/issues/203), [#237](https://github.com/dooboolab-community/react-native-iap/issues/237).
- Resolved issues in [#203](https://github.com/hyochan/react-native-iap/issues/203), [#237](https://github.com/hyochan/react-native-iap/issues/237).

### How do I validate receipt in Android?

Expand All @@ -61,7 +61,7 @@ deepLinkToSubscriptions();
### How to make consumable product in Android developer mode?

- If you are facing `"You already own this item"` on developer(test) mode,
you might check related issue [#126](https://github.com/dooboolab-community/react-native-iap/issues/126)
you might check related issue [#126](https://github.com/hyochan/react-native-iap/issues/126)

### How do I use `react-native-iap` in Expo?

Expand Down Expand Up @@ -150,10 +150,10 @@ Then call `initConnection` (see above)
Here are some resources you might get help out of.

- For `iOS`, check if you’ve agreed on taxes
https://github.com/dooboolab-community/react-native-iap/issues/1272#issuecomment-800131501. Also, you may try to add storekit.
https://github.com/hyochan/react-native-iap/issues/1272#issuecomment-800131501. Also, you may try to add storekit.

- For Android, hope you to check this one.
https://github.com/dooboolab-community/react-native-iap/issues/124#issuecomment-386593185
https://github.com/hyochan/react-native-iap/issues/124#issuecomment-386593185

### Update listener called many times on iOS (Storekit 1)

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/guides/purchases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

> :warning: **Purchase Flow Redesign** :warning:
>
> The `purchase` flow has been updated as a result of the findings in issue [#307](https://github.com/dooboolab-community/react-native-iap/issues/307).
> The `purchase` flow has been updated as a result of the findings in issue [#307](https://github.com/hyochan/react-native-iap/issues/307).
> The resulting flow has been redesign to not rely on `Promise` or `Callback`.
>
> Below are some of the specific reasons for the redesign:
>
> 1. There may be more than one response when requesting a payment.
> 2. Purchases are inter-session `asynchronuous` meaning requests that are made may take several hours to complete and continue to exist even after the app has been closed or crashed.
> 3. The purchase may be pending and hard to track what has been done ([example](https://github.com/dooboolab-community/react-native-iap/issues/307).
> 3. The purchase may be pending and hard to track what has been done ([example](https://github.com/hyochan/react-native-iap/issues/307).
> 4. The Billing Flow is an `event` pattern rather than a `callback` pattern.
Once you have called `getProducts()`, and have a valid response, you can call `requestPurchase()`. Subscribable products can be purchased just like consumable products and users can cancel subscriptions by using the iOS System Settings.
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/guides/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";
Most of the issues encountered by users are caused by:

- A device simulator. Use a real device for testing!
- An incorrect usage of the library. Read the [documentation](https://react-native-iap.dooboolab.com).
- An incorrect usage of the library. Read the [documentation](https://react-native-iap.hyo.dev).

## `getProducts` returns an empty array

- Please double check if you've called `initConnection`.
- Please wait for max. 24 hours to fetch your IAP products if you've just uploaded them. [Related to issue](https://github.com/dooboolab-community/react-native-iap/issues/1065).
- Please wait for max. 24 hours to fetch your IAP products if you've just uploaded them. [Related to issue](https://github.com/hyochan/react-native-iap/issues/1065).
- For `iOS`, from iOS version `>=13`, we seem to use `StoreKit` to fix this issue as [mentioned in stackoverflow](https://stackoverflow.com/questions/58020258/requesting-an-in-app-purchase-in-ios-13-fails/58065711#58065711).
- For `android`, please double check [issue comment here](https://github.com/dooboolab-community/react-native-iap/issues/124#issuecomment-386593185) and see if you've missed something.
- For `android`, please double check [issue comment here](https://github.com/hyochan/react-native-iap/issues/124#issuecomment-386593185) and see if you've missed something.

## `getAvailablePurchases()` returns an empty array

Expand Down Expand Up @@ -56,4 +56,4 @@ Please try below and make sure you've done all the steps:
- Quit “store” related processes in Activity Monitor
- Development Provisioning Profile -> Clean -> Build.

- Related issues [#256](https://github.com/dooboolab-community/react-native-iap/issues/256), [#263](https://github.com/dooboolab-community/react-native-iap/issues/263).
- Related issues [#256](https://github.com/hyochan/react-native-iap/issues/256), [#263](https://github.com/hyochan/react-native-iap/issues/263).
6 changes: 3 additions & 3 deletions docs/docs/support-us.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";
maintain this repository to support devs to monetize around the world.

Since `IAP` itself is not perfect on each platform, we desperately need
this project to be maintained. If you'd like to help us, please contact the [maintainer: dooboolab@gmail.com](mailto:dooboolab@gmail.com).
this project to be maintained. If you'd like to help us, please contact the [maintainer: hyochan.dev@gmail.com](mailto:hyochan.dev@gmail.com).

## Our Sponsors

### Gold Tier

| [NAMI](https://namiml.com) |
|:--:|
| <a href="https://namiml.com"><img src="https://github.com/dooboolab-community/react-native-iap/assets/27461460/89d71f61-bb73-400a-83bd-fe0f96eb726e" width="450"/></a> |
| <a href="https://namiml.com"><img src="https://github.com/hyochan/react-native-iap/assets/27461460/89d71f61-bb73-400a-83bd-fe0f96eb726e" width="450"/></a> |


## Past Sponsors

<a href="https://www.revenuecat.com"><img src="https://github.com/dooboolab-community/react-native-iap/assets/27461460/1e387a47-afe0-4b85-ad78-1064ca6623fa" width="200"/></a>
<a href="https://www.revenuecat.com"><img src="https://github.com/hyochan/react-native-iap/assets/27461460/1e387a47-afe0-4b85-ad78-1064ca6623fa" width="200"/></a>

After 6 years of maintenance, we finally have an official sponsor. I am deeply grateful. 🙇🏻‍♂️
24 changes: 10 additions & 14 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
const config = {
title: 'React Native IAP',
tagline: 'React Native In App Purchase',
url: 'https://react-native-iap.dooboolab.com',
url: 'https://react-native-iap.hyo.dev',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'dooboolab',
organizationName: 'hyochan',
projectName: 'react-native-iap',
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
themeConfig: {
Expand All @@ -20,7 +20,7 @@ const config = {
},
items: [
{
href: 'https://github.com/dooboolab-community/react-native-iap',
href: 'https://github.com/hyochan/react-native-iap',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
Expand All @@ -35,11 +35,11 @@ const config = {
items: [
{
label: 'Get started',
to: 'https://react-native-iap.dooboolab.com/docs/get-started',
to: 'https://react-native-iap.hyo.dev/docs/get-started',
},
{
label: 'Installation',
to: 'https://react-native-iap.dooboolab.com/docs/installation',
to: 'https://react-native-iap.hyo.dev/docs/installation',
},
],
},
Expand All @@ -48,19 +48,19 @@ const config = {
items: [
{
label: 'Issues',
to: 'https://github.com/dooboolab-community/react-native-iap/issues',
to: 'https://github.com/hyochan/react-native-iap/issues',
},
{
label: 'Discussions',
to: 'https://github.com/dooboolab-community/react-native-iap/discussions',
to: 'https://github.com/hyochan/react-native-iap/discussions',
},
{
label: 'Pull requests',
to: 'https://github.com/dooboolab-community/react-native-iap/pulls',
to: 'https://github.com/hyochan/react-native-iap/pulls',
},
{
label: 'Changelog',
to: 'https://github.com/dooboolab-community/react-native-iap/releases',
to: 'https://github.com/hyochan/react-native-iap/releases',
},
],
},
Expand All @@ -71,10 +71,6 @@ const config = {
label: 'Open Collective',
to: 'https://opencollective.com/react-native-iap',
},
{
label: 'Slack',
to: 'https://dooboolab.com/joinSlack',
},
],
},
],
Expand All @@ -89,7 +85,7 @@ const config = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/dooboolab-community/react-native-iap/edit/main/docs/',
'https://github.com/hyochan/react-native-iap/edit/main/docs/',
remarkPlugins: [
[require('@docusaurus/remark-plugin-npm2yarn'), {sync: true}],
],
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "react-native-iap",
"version": "12.15.4",
"description": "React Native In App Purchase Module.",
"repository": "https://github.com/dooboolab-community/react-native-iap",
"author": "hyochan <dooboolab@gmail.com> (https://github.com/hyochan)",
"repository": "https://github.com/hyochan/react-native-iap",
"author": "hyochan <hyochan.dev@gmail.com> (https://github.com/hyochan)",
"license": "MIT",
"bugs": {
"url": "https://github.com/dooboolab-community/react-native-iap/issues"
"url": "https://github.com/hyochan/react-native-iap/issues"
},
"homepage": "https://github.com/dooboolab-community/react-native-iap#readme",
"homepage": "https://github.com/hyochan/react-native-iap#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
Expand Down
4 changes: 2 additions & 2 deletions src/modules/ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ export const validateReceiptIos = async ({
/**
* Clear Transaction (iOS only)
* Finish remaining transactions. Related to issue #257 and #801
* link : https://github.com/dooboolab-community/react-native-iap/issues/257
* https://github.com/dooboolab-community/react-native-iap/issues/801
* link : https://github.com/hyochan/react-native-iap/issues/257
* https://github.com/hyochan/react-native-iap/issues/801
* @returns {Promise<void>}
*/
export const clearTransactionIOS = (): Promise<void> =>
Expand Down

0 comments on commit 8fa3da1

Please sign in to comment.