GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — portone-sample/react-native at main · portone-io/portone-sample

Expand file tree

/

react-native

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

react-native

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.bundle
.bundle
 
 
__tests__
__tests__
 
 
android
android
 
 
ios
ios
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.prettierrc.js
.prettierrc.js
 
 
.watchmanconfig
.watchmanconfig
 
 
.yarnrc.yml
.yarnrc.yml
 
 
App.tsx
App.tsx
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
README.md
README.md
 
 
app.json
app.json
 
 
babel.config.js
babel.config.js
 
 
index.js
index.js
 
 
jest.config.js
jest.config.js
 
 
metro.config.js
metro.config.js
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

README.md

Outline

React Native

React Native를 사용한 샘플 프로젝트입니다.

사전 준비

샘플 프로젝트는 yarn 4.5.1을 기준으로 작성되었습니다.

$ yarn --version
4.5.1

프로젝트 실행

프로젝트를 실행하기 전 먼저 의존성 패키지를 설치합니다.

yarn

이후 App.tsx 파일을 수정해 주세요.

<Payment
  request={{
    storeId: "store-00000000-0000-0000-0000-000000000000", // 상점 ID
    channelKey: "channel-key-00000000-0000-0000-0000-000000000000", // 채널키
  }}
/>

iOS 추가 설정

  1. ios 디렉토리에서 아래 명령어를 입력해 주세요.
pod install
  1. Xcode에서 ios/PortoneSample.xcodeproj 파일을 여신 뒤, Signing & Capabilities 설정에서 Team을 본인의 개발자 계정으로 설정해 주세요.

실행

$ yarn android # 안드로이드 에뮬레이터에서 실행
$ yarn ios # iOS 에뮬레이터에서 실행
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.