Test app (sandbox)
Test app (sandbox)
Apps in Toss does not provide a separate Toss app for development. Instead dedicated sandbox appyou can use it to set up your development and testing environment.
What is the sandbox app?
Apps in Toss provides partner services inside the Toss app App-in-App format. Instead of a separate Toss app for development, dedicated sandbox app for development and QAyou can run integration tests through it.
After installing the sandbox app, start development in the order below.
Environment setup
Install the sandbox app
Login → Select an app → Access scheme (URL)
Supported OS versions
Android
Android 7
iOS
iOS 16
1. Set up the environment
iOS environment setup
To test in the iOS simulator, Xcodeis required.
1-1. Install Xcode
Download the latest version of Xcodeand install it from the Mac App Store.
1-2. Install iOS components
If you installed Xcode for the first time, you also need to install iOS 15 or later components. If a window like the one below appears, select iOS and install it.
1-3. Install Xcode Command Line Tools
Xcode Command Line Tools must have the same version as the main Xcode app .
Check the Xcode version
Open Xcode and click [Xcode] > [About Xcode] in the top menu.
Check the version shown on the screen.
Check the Xcode Command Line Tools version
In Xcode, click [Xcode] > [Settings].
In the [Locations] tab, check the version of the Command Line Tools item.
1-4. Run the simulator
In the top menu of Xcode, select [Xcode] > [Open Developer Tool] > [Simulator].
Make sure you can use iOS 15 or later.
Android environment setup
To run React Native in an Android environment, Android SDKand adb(Android Debug Bridge)is required.
1-1. Install Android Studio
Android Studio installation linkand install it.
1-2. Install Android SDK Command-line Tools
In Android Studio, click [Android Studio] > [Settings] in the top menu.
Select [Languages & Frameworks] > [Android SDK].
In the [SDK Tools] tab, check "Android SDK Command-line Tools" and press OK to install it.
1-3. Set environment variables
adbTo use it, you need to set environment variables.
Check whether the environment variable has been registered correctly with the command below.
1-4. Connect a device
Enable Developer options
For Galaxy devices, enable it as follows.
Open the [Settings] app
Go to [About phone] > [Software information]
Tap the [Build number] item repeatedly and quickly
Enable USB debugging
Go to [Settings] > [Developer options].
Enable [USB debugging].
Connect the PC and device
Connect the PC and device with a USB cable, then check the connection status with the command below.
If a device ID appears under "List of devices attached", the connection was successful.
1-5. Set up the emulator
⚠️ For debugging and QA, we recommend using a physical devicewhenever possible.
After running Android Studio, add an emulator by clicking [Virtual Device Manager] > [+ button] in the right menu.
If you proceed in the order [Pixel 8a] > [VanillaIceCream (API 35)] > [Set AVD Name], the emulator setup is complete.
You can run the added emulator by clicking the play button in [Virtual Device Manager].
2. Install the sandbox app
The sandbox app is updated frequently. If you see an error, update to the latest version.
Install on iOS
Simulator
Download the sandbox app file and drag and drop it onto the simulator screen. Once installation is complete, the app will appear on the simulator home screen. Please wait a moment until installation is complete.
Physical device
Install from the App Store using the QR code in the table above.
Install on Android
Both the physical device and the emulator use the same APK file.
Install with Android Studio
Check whether the connected device appears in the [Device Manager] menu on the right side of Android Studio.
Click the [Start Mirroring] button to display the device screen in Android Studio.
Drag the downloaded APK file onto the device screen to install it.
Install with adb command
3. Use the sandbox app
1. Developer login
Log in with the Toss Business account used in the console. If you need to sign up for Toss Business, register an app in the consoleand check it.
2. Select an app
The list of apps in the workspace you belong to will be displayed. The app to testselect it.
3. Toss authentication
registered in the console Toss accountto proceed with identity verification. On the smartphone with the Toss app installed for that account, open the push notification to complete verification.
4. Access via scheme (URL)
Enter the scheme to access, and the mini app will launch.
4. Run the mini app
Run it in the iOS simulator
Launch the sandbox app.
Enter the scheme and click the "Open Scheme" button. Example:
intoss://kingtoss
[Watch video](../../resources/development/local-server/local-develop-ios-sim-example.mp4)
Run it on an iOS physical device
You must be connected to the same Wi-Fi as the local server.
When launching the sandbox app, "Local Network" if a permission request appears, "Allow" tap the button.
On the server address input screen, enter the local server IP address and save it.
On macOS,
ipconfig getifaddr en0can be used to check the IP address.
Tap the "Open Scheme" button.
At the top of the screen,
Bundling {n}%...if it is displayed, the connection was successful.
Run it on an Android emulator or physical device
Connect the PC and device with a USB cable.
adbConnect the ports with the command below.To connect a specific device,
-sadd the option.In the sandbox app, enter the scheme and click the run button. Example:
intoss://kingtoss
[Watch video](../../resources/development/local-server/local-develop-android-example.mp4)
Testable features
For features not supported in the sandbox, please test them in the Toss app using the QR code in console's 'Launch' section. Toss appand test there.
Toss Login
✅ Available
Issue user identification key
✅ Available (mock data is returned)
Toss Pay
✅ Available
In-app payment
✅ Available
Game profile & leaderboard
✅ Available
Analytics
❌ Not available
Shared rewards
❌ Not available
In-app ads
❌ Not available
Landscape version game
❌ Not available
Share navigation bar
❌ Not available
Frequently asked questions
Troubleshooting
Last updated
Was this helpful?
