Skip to main content
Platform
Language

Basic Configuration Settings

In this example, we will show you how to make basic configurations for the mobile editor. The example is based on the Design Editor, however, it is exactly the same for all the other solutions.

Explore a full code sample on GitHub.

Configuration#

All the basic configuration settings are part of the EngineSettings which are required to initialize the editor.

  • license - the license to activate the Engine with.
  • userID - an optional unique ID tied to your application's user. This helps us accurately calculate monthly active users (MAU). Especially useful when one person uses the app on multiple devices with a sign-in feature, ensuring they're counted once. Providing this aids in better data accuracy. The default value is nil.
  • baseURL - is used to initialize the engine's basePath setting before the editor's onCreate callback is run. It is the foundational URL for constructing absolute paths from relative ones. This URL enables the loading of specific scenes or assets using their relative paths. The default value is pointing at the versioned IMG.LY CDN https://cdn.img.ly/packages/imgly/cesdk-engine/1.41.0/assets but it should be changed in production environments.