Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 Account

Create 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
```