DocsInstallation

next2app

next2app is a tool that converts Next.js app into cool native apps(IOS,Android) with minimal works. Transform your Next.js app into a mobile app instantly!

Features

  • One-Command Conversion: Transform web apps into mobile apps instantly
  • Live Development: Test your app in real-time using our mobile preview apps
  • Automated Deployment: Simplified app store submission process
  • Cross-Platform: Support for both iOS and Android platforms
  • Zero Configuration: Works out of the box with sensible defaults
  • Customizable: Extensive configuration options available

Prerequisites

  • Node.js 14.0 or higher
  • npm or yarn package manager
  • Next.js project
  • iOS App Store / Google Play Store developer accounts (for deployment)

Installation

npm install next2app
# or
yarn add next2app

Quick Start

1. Start Development Server

npx next2app dev

Preview your app instantly using our Next2app preview application available on the App Store and Play Store.

2. Build Your App

npx next2app build

Creates production-ready builds for both iOS and Android platforms. ** currently only supports iOS **

3. Deploy(in development)

npx next2app deploy

Automates the app store submission process with guided form filling.

Configuration

Create next2app.config.js in your project root:

const config = {
  projectName: null, // your project name
  displayName: null, // your project display name
  appId: null, // your project app id
  version: "1.0.0", // your project version
  design: {
    icon: "./assets/images/icon.png", // your project icon
    splash: "./assets/images/splash.png", // your project splash screen
  },
  ios: {
    teamId: process.env.N2A_IOS_TEAM_ID,
  },
};
 
module.exports = config;
```
 
 
## Issue Reporting
 
Found a bug? Please report it on our [GitHub Issues](https://github.com/kyleqiq/next2app/issues) page.
 
## License
 
next2app is [MIT licensed](LICENSE).
 
---
 
Made with ❤️ by the Next2app Team