Skip to content Skip to sidebar Skip to footer

Objectalreadyconsumedexception: Receiving Map Already Consumed

tl; dr I try to get data of a WritableMap, in the same class and two times. I get Receiving map already consumed error and I couldn't overcome that issue. I've been developing a

Solution 1:

The problem was response.putMap("workState", mWorker.work.getState()); line which is at the immediate after successCallback.invoke!

It had to before the callback invoke.

Post a Comment for "Objectalreadyconsumedexception: Receiving Map Already Consumed"