Quick Start
Get started with Apptuner in less than 5 minutes using our HTTP API.
Prerequisites
- A Apptuner Account
- A Mobile App (React Native, Flutter, iOS, or Android)
1. Create a Project
- Log in to your Apptuner Console.
- Click New Project.
- Name your project (e.g., "My Super App").
- Copy your
API Key.
2. API Integration
Since we do not currently have platform-specific SDKs, you can use our REST API to fetch configuration.
Fetch Configuration
Make a GET request to the following endpoint during your app initialization:
GET https://apptuner.dev/api/v1/config
Parameters:
platform(e.g.,ios,android)current_version(e.g.,1.0.0)
Headers:
x-api-key:YOUR_API_KEY
Example Implementation
const response = await fetch(
"https://apptuner.dev/api/v1/config?platform=ios¤t_version=1.0.0",
{
headers: {
"x-api-key": "YOUR_API_KEY"
}
}
);
const config = await response.json();
if (config.maintenance_active) {
// Show maintenance screen
} else if (config.force_upgrade) {
// Show force update dialog
}
That's it! You now have remote control over your app.