react-native-background-task icon indicating copy to clipboard operation
react-native-background-task copied to clipboard

Cannot read property 'schedule' of undefined

Open munduu opened this issue 8 years ago • 5 comments

componentDidMount() { console.log("BackgroundTask", BackgroundTask); // this show a object BackgroundTask.schedule(); // here i got this error

}

munduu avatar Jan 11 '18 19:01 munduu

Have this problem too on Android

lucianomlima avatar Jan 12 '18 21:01 lucianomlima

Sorry, my problem was the manual step in configuration.

lucianomlima avatar Jan 12 '18 22:01 lucianomlima

Same problem on RN 0.55. I added manual configuration step

KatSick avatar May 04 '18 09:05 KatSick

@userinova @lucianomlima i had the same issue and it get solved when i followed this part of documentation https://github.com/jamesisaac/react-native-background-task#android

ahmad-abusaa avatar Jun 29 '18 16:06 ahmad-abusaa

Any solution? RN 0.50 react-native-background-task 0.2.1

curselolz avatar Sep 17 '18 09:09 curselolz