Set up react-native-iap
in your project :
npm install react-native-iap
then add react-native-iap to your plugins in app.config.(js|ts) or app.json
| import { useEffect, useState } from "react"; | |
| // --------------------------------------------------------------------------- | |
| // Types | |
| // --------------------------------------------------------------------------- | |
| /** | |
| * Callback registered with an {@link AsyncDialogController} to receive open | |
| * requests. The subscriber is responsible for rendering the dialog with the | |
| * supplied props and calling `onClose` when the user dismisses it. |
| openssl genpkey -out rsakey.pem -algorithm RSA -pkeyopt rsa_keygen_bits:2048 | |
| openssl pkey -in rsakey.pem -pubout -out rsapubkey.pem | |
| cat rsakey.pem | |
| cat rsapubkey.pem | |
| ## then encode to base64 to store in .env |
What is Scala?
Créé par Martin en 2003 -- Son nom vient de l'anglais Scalable language Scala intègre les paradigmes de programmation orientée objet et de programmation fonctionnelle, avec un typage statique
a) Immutability
| liquideveloper |