AnsweredAssumed Answered

WebGL detection with arcgis/cli application

Question asked by NicolasGIS on Jun 27, 2018
Latest reply on Jun 28, 2018 by NicolasGIS

Hi !


Might be simple but I can't find a way to detect WebGL using a fresh arcgis/cli application.

I try to apply the same principle as described in this tutorial:

Detect WebGL support | ArcGIS API for JavaScript 4.7 


In this app, I believe it should be handle in AppViewModel but I can't find a way to "catch" the fact the view was rejected. I even tried directly after creating the view  in 'onAfterCreate' method of the app View but it still never catch that the view is rejected.


Could it be because of the webpack configuration ?


Any idea ?!


Thanks !