meso-network / meso-ios-example

A reference implementation for integration Meso's on/off ramps into an iOS application.
0 stars 0 forks source link

Kyle/fix post message deserialization #2

Closed kyledetella closed 8 months ago

kyledetella commented 8 months ago

Previously we were attempting to cast postMessage bodies to [String: Any] but they are coming in as String types. This refactors the deserialization to first convert the message string into a Data object and then attempt JSON decoding.

Closes #1