Skip to content

Conversation

esutton
Copy link
Collaborator

@esutton esutton commented Aug 3, 2018

I am seeing a lot of packages with these annoying Yellow Box warnings.

Easy low risk fix. Add method to confirm react-native-share is using main queue.

+ (BOOL)requiresMainQueueSetup
{
    return YES;
}

esutton added 2 commits August 3, 2018 15:01
react-native-share#330

Add:
````
+ (BOOL)requiresMainQueueSetup
{
    return YES;
}
````
…res-main-queue-setup

Silence Yellow box warning "requires main queue setup"
@jgcmarins
Copy link
Member

@esutton, great!
Can you solve conflicts please?

@esutton
Copy link
Collaborator Author

esutton commented Aug 3, 2018

@jgcmarins Conflicts resolved.

Thank you for your work!

Copy link
Member

@jgcmarins jgcmarins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks

@jgcmarins jgcmarins merged commit dac05a5 into react-native-share:master Aug 4, 2018
dthian pushed a commit to viromedia/viro that referenced this pull request Sep 25, 2019
…arnings

This change mimics changes made in other RN modules like RCTImageLoader, react-native-share,etc
react-native-share/react-native-share#331
facebook/react-native#17679

Starting this RN version, FB seems to default to NO main queue anyways, if not specified.
But they raise these warnings anyway.


Former-commit-id: 01a4cb4fed3760290f90d613e74ffa9a6b18c981
@abdulbasit1248
Copy link

Thanks for the solution.It works

ktemby pushed a commit to ktemby/viro that referenced this pull request Oct 4, 2020
…arnings

This change mimics changes made in other RN modules like RCTImageLoader, react-native-share,etc
react-native-share/react-native-share#331
facebook/react-native#17679

Starting this RN version, FB seems to default to NO main queue anyways, if not specified.
But they raise these warnings anyway.


Former-commit-id: 01a4cb4fed3760290f90d613e74ffa9a6b18c981
Former-commit-id: 7f7b2f4 [formerly 81c55f2]
Former-commit-id: 603678e10722369faebb9116903a9a96e809dfb6
ktemby pushed a commit to ktemby/viro that referenced this pull request May 3, 2021
…arnings

This change mimics changes made in other RN modules like RCTImageLoader, react-native-share,etc
react-native-share/react-native-share#331
facebook/react-native#17679

Starting this RN version, FB seems to default to NO main queue anyways, if not specified.
But they raise these warnings anyway.


Former-commit-id: 01a4cb4fed3760290f90d613e74ffa9a6b18c981
Former-commit-id: 81c55f2
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

Successfully merging this pull request may close these issues.

3 participants