sank20 / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

putCustomData should work for the basic primitives and the Object class. #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is an enhancement request.

After attempting to use putCustomData to add a boolean value to my error report 
I noticed that only Strings are accepted. A few overloaded methods accepting 
boolean, float, double, int, and Object using the respective toString functions 
to call the original should do the trick.

This was noticed in acra 3.1.2

Original issue reported on code.google.com by Patrick....@gmail.com on 19 Jun 2011 at 1:11

GoogleCodeExporter commented 8 years ago
I would prefer to keep the API of ACRA lean.
I suggest converting the data prior to injection into ACRA.

Original comment by william....@gmail.com on 16 Jul 2011 at 7:02

GoogleCodeExporter commented 8 years ago
I agree with William. These custom data should be considered like a log file, 
not a repository for typed global variables. There is no need to get the 
original type back.

Original comment by kevin.gaudin on 25 Nov 2011 at 11:43