Getting Started
Welcome to Shift2App Documentation
What is Shift2App?
Transform your website into a native mobile app
Shift2App converts your website into a fully functional native Android application. Your app wraps your website in a WebView while providing access to native device features through a simple JavaScript API called shift2appjs.
No Native Development Required
Just use JavaScript on your website to access device features like camera, notifications, biometrics, and more!
How It Works
Simple 3-step process
Configure Your App
Set your website URL, app name, icon, and enable features.
Build Your APK
We generate a native Android app with all your configurations.
Publish & Integrate
Download APK, publish to Play Store, use JavaScript for native features.
Features Overview
Everything you can do with Shift2App
Push Notifications
Send targeted push notifications via Firebase Cloud Messaging.
Monetization
Integrate AdMob ads - banners, interstitials, and rewarded videos.
Biometric Auth
Secure your app with fingerprint and face recognition.
Device Access
Access camera, location, storage, and other device features.
Quick Start
Start using native features in 5 minutes
Step 1: Check if shift2appjs is Available
// Check if running inside Shift2App
if (typeof shift2appjs !== "undefined") {
console.log("Running in native app!");
// You can now use shift2appjs functions
} else {
console.log("Running in browser");
}
Step 2: Use Native Features
// Show a native toast message
shift2appjs.showToast("Hello from native!");
// Get device information
const deviceInfo = JSON.parse(shift2appjs.getDeviceInfo());
console.log("Device:", deviceInfo.manufacturer, deviceInfo.model);
// Vibrate the device
shift2appjs.vibrate(200);
Ready to dive in?
Explore the JavaScript Bridge documentation to see all available functions.
Explore JavaScript Bridge arrow_forward