Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tednaaa/native-payment
SImple implementation of Native Payment - Capacitor Google/Apple Pay
https://github.com/tednaaa/native-payment
apple-pay capacitor capacitor-plugin google-pay native native-pay nextjs
Last synced: 26 days ago
JSON representation
SImple implementation of Native Payment - Capacitor Google/Apple Pay
- Host: GitHub
- URL: https://github.com/tednaaa/native-payment
- Owner: tednaaa
- Created: 2023-11-22T19:27:20.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-11-24T21:30:07.000Z (12 months ago)
- Last Synced: 2024-10-11T17:42:58.665Z (26 days ago)
- Topics: apple-pay, capacitor, capacitor-plugin, google-pay, native, native-pay, nextjs
- Language: TypeScript
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Project Initialization
> Create .env.local from the example
```bash
cp .env.example .env.local
```| Name | Description |
| :--------------------------------- | :--------------------: |
| NEXT_PUBLIC_GOOGLE_PAY_ENVIRONMENT | "TEST" or "PRODUCTION" |> Install locked dependencies
```bash
npm ci
```> Init android/ios platforms
```bash
npx cap add android
npx cap add ios
```> After some changes build and sync code for both android/ios platforms to check functionality
```bash
npm run build:sync
```> Open Xcode and Android Studio then click run button
```bash
npx cap open android
npx cap open ios
```