react-native/React/Views
Jerry Horton 37c820f16e Fix for issue #19086 RCTHasFontHandlerSet(); This function definition…
Summary:
… is not a protoype #19086

Thank you for sending the PR! We appreciate you spending the time to work on these changes.
Help us understand your motivation by explaining why you decided to make this change.

<!--
  Required: Write your motivation here.
  If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged.
-->

Fixes #19086

Related to react-native-navigation issue #3019

<!--
  Required: Write your test plan here. If you changed any code, please provide us with
  clear instructions on how you verified your changes work. Bonus points for screenshots and videos!
-->

Created a fresh react native >= 0.55.2 project and only install React Native Navigation. The error "This function declaration is not a prototype" message occurs.

Downgrading to React Native 0.54.4 builds fine.

![screen shot 2018-05-01 at 3 17 51 pm](https://user-images.githubusercontent.com/5680239/39491718-ddfdd6a0-4d52-11e8-937f-7ed9702a2e30.png)

<!--
  Does this PR require a documentation change?
  Create a PR at https://github.com/facebook/react-native-website and add a link to it here.
-->

No documentation change

<!--
  Required.
  Help reviewers and the release process by writing your own release notes. See below for an example.
-->
[iOS] [BUGFIX] [react-native-navigation] - For compatibility with react-native-navigation >= 2.0.2237 https://github.com/facebook/react-native/issues/19086
<!--
  **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.**

    CATEGORY
  [----------]      TYPE
  [ CLI      ] [-------------]    LOCATION
  [ DOCS     ] [ BREAKING    ] [-------------]
  [ GENERAL  ] [ BUGFIX      ] [ {Component} ]
  [ INTERNAL ] [ ENHANCEMENT ] [ {Filename}  ]
  [ IOS      ] [ FEATURE     ] [ {Directory} ]   |-----------|
  [ ANDROID  ] [ MINOR       ] [ {Framework} ] - | {Message} |
  [----------] [-------------] [-------------]   |-----------|

 EXAMPLES:

 [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things
 [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput
 [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with
 [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word
 [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position
 [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see
-->
Closes https://github.com/facebook/react-native/pull/19089

Differential Revision: D7841198

Pulled By: shergin

fbshipit-source-id: 31638274055c3f143342d2d6dde6d4af7a2ac304
2018-05-01 19:32:07 -07:00
..
SafeAreaView Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ScrollView Bridged FBPullToRefresh to JS 2018-03-27 18:19:30 -07:00
RCTActivityIndicatorView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTActivityIndicatorView.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTActivityIndicatorViewManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTActivityIndicatorViewManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTAnimationType.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTAutoInsetsProtocol.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTBorderDrawing.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTBorderDrawing.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTBorderStyle.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTComponent.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTComponentData.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTComponentData.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTConvert+CoreLocation.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTConvert+CoreLocation.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTConvert+Transform.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTConvert+Transform.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTDatePicker.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTDatePicker.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTDatePickerManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTDatePickerManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTFont.h Fix for issue #19086 RCTHasFontHandlerSet(); This function definition… 2018-05-01 19:32:07 -07:00
RCTFont.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTLayout.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTLayout.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMaskedView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMaskedView.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMaskedViewManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMaskedViewManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModalHostView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModalHostView.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModalHostViewController.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModalHostViewController.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModalHostViewManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModalHostViewManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModalManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTModalManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNavItem.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNavItem.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNavItemManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNavItemManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNavigator.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNavigator.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNavigatorManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTNavigatorManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPicker.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPicker.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPickerManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPickerManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTPointerEvents.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTProgressViewManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTProgressViewManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTRefreshControl.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTRefreshControl.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTRefreshControlManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTRefreshControlManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTRootShadowView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTRootShadowView.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSegmentedControl.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSegmentedControl.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSegmentedControlManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSegmentedControlManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTShadowView+Internal.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTShadowView+Internal.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTShadowView+Layout.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTShadowView+Layout.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTShadowView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTShadowView.m Fixed typo in RCTShadowView 2018-04-10 12:59:51 -07:00
RCTSlider.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSlider.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSliderManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSliderManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSwitch.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSwitch.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSwitchManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSwitchManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTVView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTVView.m onPress animation with magnification 2018-02-27 13:10:02 -08:00
RCTTabBar.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTabBar.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTabBarItem.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTabBarItem.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTabBarItemManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTabBarItemManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTabBarManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTabBarManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTTextDecorationLineType.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTView.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTViewManager.h Mark ObjC methods that are called from React Native as dynamic. 2018-02-26 12:24:17 -08:00
RCTViewManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTWebView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTWebView.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTWebViewManager.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTWebViewManager.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTWrapperViewController.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTWrapperViewController.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
UIView+Private.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
UIView+React.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
UIView+React.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00