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

RNToastNative has a warning [requiresMainQueueSetup] #20

Open
ghost opened this issue Aug 17, 2018 · 3 comments
Open

RNToastNative has a warning [requiresMainQueueSetup] #20

ghost opened this issue Aug 17, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 17, 2018

I added the following code in the RNToastNative

+ (BOOL) requiresMainQueueSetup {
Return YES;
}

Warnings will disappear.

react-native 0.56.0

@Zacele
Copy link

Zacele commented Aug 24, 2018

@shx1545 Where should I put this code in the folder "RNToastNative" my man ?

@yimankaing
Copy link

i also receive that warning

@albemala
Copy link

albemala commented Oct 1, 2018

@Zacele To fix this problem, this code:

+ (BOOL) requiresMainQueueSetup {
    return YES;
}

has to be added in RNToastNative.m inside the RNToastNative class implementation.

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

3 participants