I have the FeatureLayer from the Map service. We are using UniqueValue Render on one of field. It is a polygon Feature class. In the REST service endpoint, It stated clearly the UniqueValue Render is used. I also explicitly stated using FeatureLayer.RendererTakesPrecedence=true; However on the may, it displayed using default symbols with one color accross the board.
I had this issue before. FeatureLayer.RendererTakesPrecedence=true did the trick. But this, It doesn't work. Any ideas will be highly appreciated!