Skip to content

thiagoliof/in-purchase-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

In-App purchasing running on iOS and Android through React Native

alt text

Index

  • Starting Project to Android (Emulator)
  • Compiling the project for Google Play
  • Start the project for iOS (Simulator)
  • Compiling the project for iOS (TestFlight)

Starting Project

The app was developed in React Native and you need to follow a few steps to compile a project to RN This documentation can help you set up the environment for your operating system

Note: The environment was set up using the React Native CLI

Starting Project to Android (Emulator)

yarn install
yarn android

Compiling the project for Google Play

The react native documentation suggests that you create a key to sign the project, but at this point you don't need to worry about that. the key is inside the project

cd android
./gradlew bundleRelease

After running these commands, an app-release.aab file will be created in the android/app/build/outputs/bundle/release/ folder You need to upload this file to the Internal Testing tab in google play To make this publication, create a new Release and upload the .aab file and send to review (Don't worry, the app will not be open to the public)

Start the project for iOS (Simulator)

cd ios
pod install 
#maybe you need to set ruby and gems (cocoapods) on your Mac OS
yarn install
yarn ios

In the iOS simulator Apple uses the sandbox environment with StoreKit, that is, in the Simulator the App does not go to the cloud to send some information. Everything happens on the machine itself and even the signatures are fake

Compiling the project for iOS (TestFlight)

cd ios
pod install 

Open your Xcode, select the Any iOS Device (arm64) option xcode image

Then click Product / Build on the top menu xcode image

About

This app was made in React Native and uses App In Purchase Features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published