File tree Expand file tree Collapse file tree
examples/demo/Assets/Scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,21 @@ private async void Start()
3131 {
3232 DotEnv . Load ( ) ;
3333
34+ // iOS cancels in-progress touches when the OS suspends the app, and
35+ // Unity's Input System raises "Touch was already deallocated" on the
36+ // next frame. In dev builds, that pops the engine's Development
37+ // Console overlay on top of the UI and occludes subsequent test taps.
38+ // Appium's live-activity spec deliberately locks the screen mid-tap,
39+ // so suppress the overlay when E2E mode is on; the exception itself
40+ // still logs to stdout for debugging. developerConsoleEnabled
41+ // prevents future pops; developerConsoleVisible hides one that's
42+ // already showing.
43+ if ( DotEnv . IsE2EMode )
44+ {
45+ Debug . developerConsoleEnabled = false ;
46+ Debug . developerConsoleVisible = false ;
47+ }
48+
3449 _prefs = new PreferencesService ( ) ;
3550 _apiService = new OneSignalApiService ( ) ;
3651
You can’t perform that action at this time.
0 commit comments