Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

you need to call create() at least once to create the singleton #82

Open
mojtabadarzi opened this issue Apr 15, 2020 · 1 comment
Open

Comments

@mojtabadarzi
Copy link

No description provided.

@hadpro24
Copy link

hadpro24 commented May 24, 2020

Add this in your MainApplication.java

import com.jamesisaac.rnbackgroundtask.BackgroundTaskPackage;

And in your onCreate() method add this line

BackgroundTaskPackage.useContext(this); 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants