Skip to main content
docs/start/installation

Installation

What CodePad needs, which packages to install and how to rebuild the app.

Edit this page

To add CodePad to your app, install the core with Nitro Modules and one package for each language you want, then rebuild the app.

Requirements​

  • React Native 0.81+ with the New Architecture
  • Android 7+ (API 24)
  • iOS 17+

Packages​

Install the core, Nitro Modules and one package per language you want to highlight:

npm install react-native-codepad react-native-nitro-modules react-native-codepad-lang-javascript

Language packages are named react-native-codepad-lang-<id>. The language list has all nineteen.

Rebuild​

The packages contain native code, so rebuild the app after you add or remove one.

Expo development builds only, not Expo Go. Set the iOS deployment target to 17.0, then prebuild and run:

app.json
{
"expo": {
"plugins": [
["expo-build-properties", { "ios": { "deploymentTarget": "17.0" } }]
]
}
}
npx expo prebuild
npx expo run:ios
npx expo run:android