You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added jsonRepresentation method to OSInAppMessageAction class (#704)
* Added `jsonRepresentation` method to `OSInAppMessageAction` class
* `OSJSONEncodable` now opens up possibility to have the `jsonRepresentation` method
* Modified how we construct the json for the `OSInAppMessageAction` class
* Fixed demo app example IAM click block and now print out the constructed json rep
* Did not need `OSJSONEncodable`
* Fixed comment format to `//` instead of `/* */`
* Changed how jsonRepresentation method internals work
* Added `null` check for `clickUrl` because we have to call `absoluteString` method `NSURL` class
* Added `jsonRepresentation` method to `tag` and `outcome` class
* `OSInAppMessageTag` now has `jsonRepresentation`
* Made `tagsToAdd` and `tagsToRemove` public access
* `OSInAppMessageOutcome` now has `jsonRepresentation`
* Made `name`, `weight`, and `unique` public access
* Wihtin `OSInAppMessageAction` now, the `tags` and `outcomes` are also public access
* This is now consistently with Android IAM click action class and what is given to the developers from the IAM click handler
0 commit comments