Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Open-Pix/expo-openpix-demo
OpenPix Demo Integration with Expo
https://github.com/Open-Pix/expo-openpix-demo
Last synced: 8 days ago
JSON representation
OpenPix Demo Integration with Expo
- Host: GitHub
- URL: https://github.com/Open-Pix/expo-openpix-demo
- Owner: Open-Pix
- Created: 2021-03-03T15:18:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T12:38:13.000Z (12 months ago)
- Last Synced: 2024-08-01T22:01:57.945Z (4 months ago)
- Language: TypeScript
- Size: 455 KB
- Stars: 10
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# OpenPix Expo Integration Example
Pix Example Using the [OpenPix](https://openpix.com.br/) Platform. [OpenPix Developers](https://developers.openpix.com.br/)
Basic OpenPix Expo Integration Example
Before QRCode | BRCode EMV QRCode
:-------------------------:|:-------------------------:
![](img/ios1.png) | ![](img/ios2.png)## Setup
Generate a [App ID](https://developers.openpix.com.br/docs/plugin/app-id) in your OpenPix AccountCreate a .env file with the following data
```jsx
APP_ID=
```## How it works?
This code uses [@openpix/react](https://www.npmjs.com/package/@openpix/react) package to generate a new charge and check when the charge is paid
## How to run on Android
```jsx
yarn android
```## How to run on iOS
```jsx
yarn ios
```## How to run on Web
```jsx
yarn web
```