react-native/React
Douglas 569061dd83 Suppress spurious warning about RCTCxxModule (#19880)
Summary:
<!--
  Required: Write your motivation here.
  If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged.
-->

On a relatively stock / default setup of RN on iOS you'll see the warning "Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?" pop up on every launch. This change resolves that issue.

Fixes #14806 .

This supersedes PR #19794 .

Try a fresh project by following the RN iOS tutorial, and observe that there are no more warnings after making this change.

[IOS] [MINOR] [CxxBridge] - Fix "Class RCTCxxModule was not exported"
Closes https://github.com/facebook/react-native/pull/19880

Differential Revision: D8653809

Pulled By: hramos

fbshipit-source-id: c48529c2d74ddd40a90bc0e06e405078e25b72e3
2018-06-26 17:47:28 -07:00
..
Base Suppress spurious warning about RCTCxxModule (#19880) 2018-06-26 17:47:28 -07:00
CxxBridge iOS: Avoid double reload event when reloading JS 2018-06-19 18:47:41 -07:00
CxxModule Update license headers for MIT license 2018-02-16 18:31:53 -08:00
CxxUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DevSupport Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
Fabric Fabric: Releasing image bitmap as part of `prepareForRecycle` 2018-06-26 11:48:12 -07:00
Inspector Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
Modules `Invalid JS responder` error was promoted to warning 2018-06-17 21:46:22 -07:00
Profiler Update license headers for MIT license 2018-02-16 18:31:53 -08:00
React.xcodeproj Update Xcode projects (#19574) 2018-06-19 23:48:12 -07:00
UIUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Views Revert D8549084: Added Accessibility Feature for RN to support Smart Inversion for photos 2018-06-24 10:46:02 -07:00
third-party.xcconfig OSS: upgrade Folly 2016.09.26 => 2016.10.31 2018-04-13 17:33:23 -07:00