Overview of the Tutorial (Mobile Apps)
With AI native development, you can also create mobile apps (iOS / Android) that work with iAP through dialogue with an agent. The apps are built with Expo (React Native) and smartlime, the library for working with iAP.
Starting with Accel CLI 2.0.0, you can create a project for a mobile app (a mobile project) in addition to a project for iAP user modules. A mobile project includes a skill set that describes how to use smartlime, as well as the official Expo skills. The agent refers to them to implement logging in to iAP and calling its APIs in the correct way.
This guide walks through the flow from creating a mobile project to running an app that logs in to iAP and works with iAP data.
Intended Audience
This guide is intended for developers such as the following.
- Those who want to make iAP data and screens available from a smartphone app
- Those who want to know the flow of developing a mobile app that works with iAP using an agent
Prerequisites
To work through this guide, the following conditions must be met.
- You understand iAP
- You have completed setting up the development environment by following the Setup Guide (Bun, Git, and VSCode are used)
- You can prepare an iAP environment for the app to work with (see What iAP needs)
Experience with Expo or React Native is not required. The agent generates the app code and checks Expo conventions with the official Expo skills and documentation.
Structure of This Guide
| Page | Contents |
|---|---|
| What Is smartlime | What smartlime can do and how it works with iAP |
| Creating a Mobile Project | How to create and update a mobile project with Accel CLI |
| Skill Sets | The convention file and skill sets deployed to a mobile project |
| AI Native Development Flow | The flow from introducing smartlime to building login and screens and checking them |