I just detached an app on SDK 28, and there’s a bunch of yellowbox warnings related to Expo classes and base React Native stuff that come up when I run it in the iOS simulator (haven’t gotten to Android yet). They only happen after you build/ run the app and the JS is loaded the first time. They don’t appear when the JS is hot-reloaded a second time. I haven’t seen any negative side effects- just wondering if I should be expecting these or if I’m doing something wrong that might come back to haunt me. Thanks!
Here’s the errors (the second line of the last error is cut off, but it’s the same as the others)
You aren’t doing anything wrong, and there is no negative effect about those which will come back to haunt you. React Native generates these warnings if Xcode is running from a debug build scheme (which is why you’re only seeing them after detaching).
The solution would be for someone to commit a change upstream to react native to silence that warning, since we are deliberately avoiding the RCT_EXPORT_MODULE() macro on those modules.