Closed timrijckaert closed 7 years ago
Thanks for reporting. The API has changed in react-native-background-job
(the native Android library currently used) v1.1.3. This was initially written against v1.1.0.
If you install v1.1.2 or lower of that library, I think you'll avoid this error.
Or you can make the same changes this user has: https://github.com/HealthReady/react-native-background-task/commit/e302b796ec4193662ab23bfb19f71864e6d25433
As the readme points out, this project is basically just a proof of concept at this point. I would only recommend using it as a starting point for your own implementation. It is something I will be needing for my RN projects, but haven't yet got round to properly implementing or integrating. Hopefully I will be able to devote proper attention to this during the next few weeks and make a real release.
@timrijckaert Native implementation should be ready soon: #5 which removes the 3rd party dependency.
Trying to run your example code.
Error seems to be correct. You are only giving 8 params.