Question/Issue
I am developing a mobile application using DoveRunner Multi-DRM SDK. How can I test the application in the Android Studio emulator or Xcode simulator environment instead of on a real device?
Short Description
In the emulator/simulator environment, DRM such as Widevine or FairPlay is not supported for security reasons. So it is impossible to play DRM content in this environment.
But for the rest of the functions or simple UI test, you can do it through the following workaround.
Resolution
To run a mobile app with DoveRunner Multi-DRM SDK applied in an Android emulator or iOS simulator environment, exclude SDK-related codes and libraries for the environment as follows.
- Code: Apply DRM-related codes only to the actual terminal environment using macros such as #if !targetEnvironment(simulator) | #endif
- Library: Apply the SDK library only to builds that target real devices using build scripts.
Related Information