eoinsha / JavaPhoenixChannels

Java and Android channel client for the Phoenix Framework
BSD 3-Clause "New" or "Revised" License
203 stars 101 forks source link

Update Envelope.java #64

Closed MContagious closed 6 years ago

MContagious commented 6 years ago

63 Fixed with this fix. Maybe it is trying to map the payload sent by the server to Envelope type and not ignoring the properties sent by the server.

Zulqarnain-Mustafa commented 6 years ago

@eoinsha Please merge this pull request, because Adding

+// To fix UnrecognizedPropertyException.
 +@JsonIgnoreProperties(ignoreUnknown = true)

Fixing the crash issue. I faced that and when I added above line. it got fixed.