Leanplum / Leanplum-Android-SDK

Leanplum's integrated solution delivers meaningful engagement across messaging and the in-app experience.
https://www.leanplum.com
Apache License 2.0
46 stars 40 forks source link

Variable default value if int value is string #379

Closed hrishileanplum closed 4 years ago

hrishileanplum commented 4 years ago
What Where/Who
JIRA Issue LP-11069
People Involved @colleague1, @colleague2

[Notes on PR descriptions]

Background

If a variable of Integer type has a String value assigned through dashboard. Then when cast exception happens, not to crash. And set defaultValue to value and numberValue.

Implementation

Testing steps

Is this change backwards-compatible?