Skip to content

Conversation

@CirnoV
Copy link
Member

@CirnoV CirnoV commented Mar 20, 2025

closes #257

@CirnoV CirnoV requested a review from kiwiyou March 20, 2025 09:05
const scheme = iamportUrl.scheme;
let niceTransRedirectionUrl;
if (scheme === data.app_scheme?.toLowerCase()) {
if (data.app_scheme?.split('://')[0].toLowerCase() === scheme) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/iamport/iamport-react-native/blob/8b452640ed4137c5fc462e2ea834ad3f2c22c984/src/utils/IamportUrl.ts#L14
IamportUrl 클래스에서 scheme을 처리하는 방식과 유사하게 app_scheme을 가공하는 로직입니다.

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.

custom URL scheme이 아닌 형태의 app_scheme이 입력되는 것을 상정하고 있음

2 participants