You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this seems to be a complex interaction, and i don't have a full explanation, but i'll leave what i have here to focus any further reports
i upgraded my app to react-14 (via reagent-0.6.0-alpha) and started getting a TypeError only on iOS during timbre logging, specifically with the console appender
downgrading to react-13, removing the timbre console appender and removing the cordova-plugin-console all make the problem go away. cordova-plugin-console modifies the js/console object to forward output to the app log, and react-14 is presumably also modifying the js/console object in some other way, otherwise downgrading to react-13 wouldn't achieve anything
sticking with react-13 is not an option, and both the other options mean that cljs logging no longer gets output to the app log, which i can live with for the moment
the error is happening here (in the generated js, which is all i'm getting from safari remote debugger) :
on further investigation this error seems to happen because cordova-plugin-console and/or react-14 are swapping out the js/console object, but the timbre console-appender is hanging on to an old version of the object in the closure around the appender-fn
this seems to be a complex interaction, and i don't have a full explanation, but i'll leave what i have here to focus any further reports
i upgraded my app to react-14 (via reagent-0.6.0-alpha) and started getting a TypeError only on iOS during timbre logging, specifically with the console appender
downgrading to react-13, removing the timbre console appender and removing the cordova-plugin-console all make the problem go away. cordova-plugin-console modifies the js/console object to forward output to the app log, and react-14 is presumably also modifying the js/console object in some other way, otherwise downgrading to react-13 wouldn't achieve anything
sticking with react-13 is not an option, and both the other options mean that cljs logging no longer gets output to the app log, which i can live with for the moment
the error is happening here (in the generated js, which is all i'm getting from safari remote debugger) :
https://www.refheap.com/59720c5b42383ea78710caff0#L-21
which looks like it corresponds with here :
https://github.com/ptaoussanis/timbre/blob/master/src/taoensso/timbre/appenders/core.cljx#L135
The text was updated successfully, but these errors were encountered: