react-native/React
Slobodan Predolac dbc864c9cd Relax the requirement that lazy module cannot be initialized on the main thread
Summary:
[RN] Relax the requirement that lazy module cannot be initialized on the main thread
I tried to understand the D5364734 that intoduced this, and I am not sure, but belive that asserting here is too strict. If you have a module that you want to lazily initialize, and module does not demand the main queue, it should be just a warning if you run on the main queue, not necessarily an error.

Reviewed By: mmmulani

Differential Revision: D10429880

fbshipit-source-id: 018c211d45b98dd8c552bf0289fe517d05e56d47
2018-10-18 15:26:27 -07:00
..
Base iOS files removed for switch to JSI 2018-10-18 01:06:24 -07:00
CxxBridge Relax the requirement that lazy module cannot be initialized on the main thread 2018-10-18 15:26:27 -07:00
CxxModule iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
CxxUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
DevSupport iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
Fabric iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
Inspector iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
Modules iOS files removed for switch to JSI 2018-10-18 01:06:24 -07:00
Profiler Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
React.xcodeproj Get RNTester xcodeproj to compile 2018-10-18 01:06:24 -07:00
UIUtils Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Views Split ViewAccessibility into DeprecatedViewAccessibility and rename r… (#21422) 2018-10-05 10:03:10 -07:00
third-party.xcconfig Fix copyright headers 2018-09-28 17:33:12 -07:00