Ability to set custom data in `RollbarConfiguration` is unavailable
pauarmada opened this issue · comments
I would like to be able to set a value which is supposed to be attached to all the Rollbar events generated by our App. I used to be able to do this before using the following syntax
Rollbar.currentConfiguration()?.setValue(value, forUndefinedKey: key)
However, the recent release has this code block commented out
rollbar-ios/Rollbar/Notifier/RollbarConfiguration.m
Lines 625 to 637 in 1c9da63
Is there an alternative way to set this which I am missing?
Thanks
@pauarmada , we will be deprecating RollbarConfiguration in favor of RollbaConfig. Please, use:
Rollbar.currentConfiguration()?.asRollbarConfig()?.customData = ["someKey": "someValue", ];
to set custom key-values.
Awesome! Thanks!