On This Page
Docs / Cloud Sync

Cloud Sync Guide

Access your API collections and environments from any device with encrypted cloud sync powered by Firebase.

Overview

Cloud Sync enables you to access your collections, environments, and configurations from any iOS device where you're signed in. All data is encrypted end-to-end using AES-256-GCM before leaving your device, ensuring that your API keys, tokens, and request data remain secure.

Cloud Sync is powered by Firebase and works seamlessly across iPhone and iPad. You can continue working offline, and changes will automatically sync when you reconnect to the internet.

Cloud Sync Benefits: Work on iPhone during commute, continue on iPad at desk. All your API requests, collections, and environments stay in sync automatically.

Sign In

To use Cloud Sync, you need to sign in with a RestForge account. Three authentication methods are available:

Email & Password

1

Open Settings

Tap the settings icon in the bottom navigation bar, then tap Sign In.

2

Enter Credentials

Enter your email address and password. If you don't have an account, tap Create Account to register.

3

Verify Email

Check your inbox for a verification email. Click the link to activate your account. You can resend the verification email from the app if needed.

Google Sign-In

1

Choose Google

From the sign-in screen, tap Continue with Google.

2

Select Account

A Google sign-in sheet will appear. Select the Google account you want to use or add a new account.

3

Grant Permissions

Review the permissions and tap Continue. RestForge only accesses your email and basic profile information.

Sign in with Apple

1

Choose Apple

From the sign-in screen, tap Sign in with Apple.

2

Authenticate

Use Face ID, Touch ID, or your device passcode to authenticate. You can choose to share or hide your email address.

3

Complete Sign-In

Tap Continue to complete the sign-in process. You'll be returned to the app.

Privacy Tip: Sign in with Apple allows you to hide your email address. Apple generates a unique private relay email that forwards to your real email.

Enable Cloud Sync

After signing in, you can enable Cloud Sync to start syncing your data across devices.

1

Navigate to Settings

Tap the settings icon in the bottom navigation bar. You should see your account email displayed at the top.

2

Toggle Cloud Sync

Find the Cloud Sync toggle switch and turn it on. A confirmation dialog will appear explaining what data will be synced.

3

Initial Upload

The first sync will upload all your local collections, environments, and settings to the cloud. This may take a few seconds depending on how much data you have. A progress indicator will show the upload status.

4

Real-Time Sync Enabled

After the initial upload, all subsequent changes are synced in real-time. You'll see a sync status indicator in the settings screen.

Once enabled, Cloud Sync runs automatically in the background. You don't need to manually trigger syncs.

What Gets Synced

Cloud Sync automatically syncs the following data across all your devices:

Collections

Environments

Settings

What Does NOT Sync

The following data is stored locally on each device and is not synced:

Important: Request history is intentionally kept local. If you need a request from history on another device, save it to a collection first.

Encryption & Security

RestForge takes security seriously. All synced data is encrypted using industry-standard encryption before it leaves your device.

Encryption Algorithm

Data is encrypted using AES-256-GCM (Advanced Encryption Standard with 256-bit keys in Galois/Counter Mode). This is the same encryption standard used by banks and government institutions.

End-to-End Encryption

Encryption happens on your device before data is transmitted to Firebase. The encryption key is derived from your user account and never leaves your device. This means:

Key Management

The encryption key is generated using a combination of your user ID and device-specific secure storage. Each device that signs in derives the same encryption key, allowing seamless decryption across devices.

Your Data Is Private: API keys, authorization tokens, and request bodies are encrypted before sync. Even RestForge cannot access your sensitive data.

Security Best Practices

Offline Mode

RestForge works seamlessly offline. You don't need an internet connection to use the app or send API requests.

Local Storage Fallback

All your collections, environments, and settings are stored locally on your device using SQLite and SharedPreferences. When offline:

Sync Queue

When you make changes while offline, they're added to a sync queue. Once you reconnect to the internet:

No Data Loss: Changes made offline are never lost. They're safely stored locally and synced as soon as you reconnect.

Sync Status Indicator

The app displays a sync status icon in the settings screen:

Cross-Device Sync

Use RestForge on multiple devices simultaneously. Changes made on one device appear on others within seconds.

Supported Devices

Cloud Sync works between:

You can sign in on unlimited devices with a single RestForge Premium account.

Real-Time Sync

When you make a change on one device:

1

Change Detection

The app detects the change immediately (e.g., saving a request, updating a variable).

2

Encryption & Upload

The change is encrypted and uploaded to Firebase within 1-2 seconds.

3

Push Notification

Firebase sends a push notification to all other signed-in devices.

4

Download & Decrypt

Other devices download the encrypted change, decrypt it, and update the local database.

5

UI Update

The app UI refreshes automatically to show the new data.

Conflict Resolution

If two devices modify the same request or environment simultaneously, RestForge uses a last-write-wins conflict resolution strategy:

Conflict Scenario: If you edit the same request on two devices while offline, then both reconnect, the change saved last will overwrite the other. To avoid conflicts, finish editing on one device before switching to another.

Merge vs. Replace

When syncing changes:

Migration Wizard

If you have existing local data when you sign in for the first time, the Migration Wizard helps you merge local and cloud data safely.

When Does the Wizard Appear?

The wizard automatically appears when:

Migration Options

The wizard presents three options:

Option What Happens Use When
Keep Local Data Replaces cloud data with local data. Local collections overwrite cloud. You want to use this device's data and discard cloud data.
Keep Cloud Data Replaces local data with cloud data. Downloads collections from cloud. You want to use data from another device and discard local data.
Merge Both Combines local and cloud data. Collections with same names are merged. You want to keep data from both sources. Best option in most cases.

Merge Strategy

When you choose Merge Both:

Recommended: Choose "Merge Both" unless you're certain you want to discard one data source. Merging is the safest option and preserves all your work.

Post-Migration Cleanup

After migration, you may see:

Take a few minutes to clean up duplicates and organize your collections after migration.

Troubleshooting

Common Cloud Sync issues and how to resolve them.

Sync Not Working

Symptoms: Changes on one device don't appear on another, or sync status shows "offline" despite internet connection.

Solutions:

Data Missing After Sign-In

Symptoms: You sign in on a new device but your collections don't appear.

Solutions:

Sync Conflicts

Symptoms: A request or environment appears different than expected, or recent changes disappeared.

Solutions:

Sign-In Errors

Symptoms: "Sign in failed" or "Authentication error" messages.

Solutions:

Performance Issues

Symptoms: App slows down after enabling Cloud Sync, or syncs take a long time.

Solutions:

Contact Support

If none of the above solutions work, contact RestForge support:

Include the following information for faster resolution:

Premium Features

Cloud Sync is a premium feature included with RestForge Premium subscription.

What's Included with Premium

Subscription Options

RestForge Premium is available as:

All subscriptions include a 7-day free trial. No credit card required to start trial.

Upgrade to Premium

1

Open Premium Screen

Tap Settings → Upgrade to Premium, or tap any "Premium" badge in the app.

2

Choose Plan

Select Monthly or Annual subscription. Compare features and pricing.

3

Start Trial

Tap "Start 7-Day Free Trial". Authenticate with Face ID, Touch ID, or password.

4

Enable Cloud Sync

After upgrading, go to Settings and toggle Cloud Sync on to start syncing.

Free Features

Without Premium, RestForge still offers:

Cloud Sync, advanced scripting, and automation features require Premium.

Try Risk-Free: Start your 7-day free trial to test Cloud Sync. Cancel anytime during the trial with no charge.

Next Steps: