Callbacks Potentially Undefined
I'm hitting an error on react-native-background-timer/index.js:58:17 in Android and iOS:
undefined is not an object (evaluating 'this.callbacks[a]={callback:e,interval:!0,timeout:t}')
I'm still looking for a consistent set of steps to reproduce as the timers are working properly for some of my users and not for others.
I'm on 1.0.3 currently and will update if I can track down more specifics.
Thanks!
Going back to 1.0.2 our use case seems to work correctly so I'll look into the delta between versions.
Hi @jfrey,
do you still have this problem?
Yes, I've just pinned to a version before the class change. If I set an interval from the background (geolocation update for example) this occurs but it did not occur in the prior function based approach.
From: Dávid Ocetník [email protected] Sent: Thursday, July 13, 2017 12:21:40 AM To: ocetnik/react-native-background-timer Cc: John Frey; Mention Subject: Re: [ocetnik/react-native-background-timer] Callbacks Potentially Undefined (#34)
Hi @jfreyhttps://github.com/jfrey,
do you still have this problem?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ocetnik/react-native-background-timer/issues/34#issuecomment-314994297, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAae9IvbyzH5_5gmtG3z25mZ6al8n-Z4ks5sNcWEgaJpZM4OCg0u.