mk-5 / gdx-fireapp

libGDX Firebase API
Apache License 2.0
65 stars 21 forks source link

Allow logEvent from Analytics to log events with numeric parameters #50

Closed UwaisA closed 3 years ago

UwaisA commented 3 years ago

On iOS this was previously not supported in gdx-fireapp and on Android the code contained a bug.

The bug on Android was that TextUtils.isDigitsOnly() prevents non integers from being parsed as doubles/floats because of the decimal point. It also prevents longs from being parsed as the parsing method expects a trailing l

UwaisA commented 3 years ago

P.S. thank you @mk-5 for allowing custom implementations of Analytics - that helped me to not be blocked by this issue for the release of my libgdx app 🙂