UNPKG

react-native-navigation

Version:

React Native Navigation - truly native navigation for iOS and Android

908 lines (562 loc) 101 kB
>⚠️ This changelog is no longer maintained. Release notes can be found [here](https://github.com/wix/react-native-navigation/releases). ___ # Changelog # 7.0.0 This release mainly focuses on adding support for TurboModules (Integrating Reanimated2 is now possible!) and aligning the Navigation commands API once and for all. ## Key Features - Support TurboModules (and Reanimated v2) - New layout system on iOS. Layout insets are now handled via constraints and safeAreaLayoutGuide instead of margins and edgesForExtendedLayout as per Apple's recommendations. This is not a breaking change and is done in preparation to deprecate the `bottomTabs.drawBehind` option on iOS. - Deprecate registerComponentWithRedux. [registerComponent with providers](https://wix.github.io/react-native-navigation/api/component#registering-a-component-wrapped-with-providers) should be used instead. - Align promise results of all Navigation commands on both iOS and Android ## Upgrading from v6 ### iOS Add `extraModulesForBridge` in `AppDelegate.m` ```objc - (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge { return [ReactNativeNavigation extraModulesForBridge:bridge]; } ``` In case your'e bootstraping ReactNativeNavigation like that: ```objc [ReactNativeNavigation bootstrap:jsCodeLocation launchOptions:launchOptions]; ``` Replace it with ```objc [ReactNativeNavigation bootstrapWithDelegate:self launchOptions:launchOptions]; ``` > **If on upgrading you experience the error:** > >Specs satisfying the ReactNativeNavigation (from ../node_modules/react-native-navigation) dependency were found, but they required a higher minimum deployment target. > >Please update your Podfile deployment target to at least 11.0: >``` >platform :ios, '11.0' >``` ### Android No Changes needed 🥳 ## Breaking changes - Starting from this version, both `modalDismissed` and `modalAttemptedToDismiss` events can no longer be handled in components. Handling them is only supported via the `Navigation.events()` api. - `dismissModal` promise is resolved with the id of the root layout. For example, if a modal which contains a stack and a few children was dismissed, the `Navigation.dismissModal()` promise will be resolved with the stack's id. - Change Navigation commands promise resolve type from any to string ### iOS - The default value of `sideMenu.openGestureMode` is now `bezel`. Up until now `entireScreen` was the default value which made it difficult for users to interact with scrollable components, Carousel for instance, as the SideMenu intercepted the scroll events. The `bezel` option solves this issue as the SideMenu will respond only to touch events from the edge of the screen. - Resolve all Navigation commands with id of root layout instead of actual layout. - Resolve push command promise with id of pushed layout instead of current layout. ### Android - `fab.id` is mandatory. We plan to rework some of the native components on Android, mainly Fab and BottomTabs. This change is mostly a cosmetic change needed for future work on Fab. ## Changes ### Added - allow assigning OpaqueColorValue as a color [#8f67d9f](https://github.com/wix/react-native-navigation/commit/8f67d9f2dced62b441bcce4ab6e9e21ee62eb177) by [danilobuerger](https://github.com/danilobuerger) #### Android - Support PlatformColor [#d7ba3ff](https://github.com/wix/react-native-navigation/commit/d7ba3ffc19c88b313729757d158b4495f9f97d29) by [danilobuerger](https://github.com/danilobuerger) ### Fixes - Recreate wrapped component on re-register component [#12a615b](https://github.com/wix/react-native-navigation/commit/12a615bd70112571a43f73463376c7a9cfc683ec) by [danilobuerger](https://github.com/danilobuerger) - Calling UpdateProps multiple times does not discard previous props [#fff6d23](https://github.com/wix/react-native-navigation/commit/fff6d23c8b6d380ac50f9b1c1af03d254ba3dd65) by [jinshin1013](https://github.com/jinshin1013) - Fix props type passed to options function in `NavigationFunctionalComponent` interface [#a3a796a](https://github.com/wix/react-native-navigation/commit/a3a796ae0c7c6a5341cdf3f7db06acc01377e0c2) by [mrousavy](https://github.com/mrousavy) #### iOS - Fix options not being applied on large title [#e845afe](https://github.com/wix/react-native-navigation/commit/e845afecaeea16dc92ef2461038079eab1e09a6f) by [yogevbd](https://github.com/yogevbd) - Fix crash after calling setStackRoot and pressing the back button [#8a7d34b](https://github.com/wix/react-native-navigation/commit/8a7d34b22a1226cab7ad03e58a858d2ab4ea43fb) by [yogevbd](https://github.com/yogevbd) - Initialize UIWindow only if needed [#e5cc0c3](https://github.com/wix/react-native-navigation/commit/e5cc0c3594b495f89b4912f2019be8fec2499fcd) by [danilobuerger](https://github.com/danilobuerger) - Change default modalPresentationStyle from overFullScreen to fullScreen on iOS 12 and below [#0869fd0](https://github.com/wix/react-native-navigation/commit/0869fd0197a621123ae16e183965dd05fdf4521d) by [danilobuerger](https://github.com/danilobuerger) - Don't crash if specified Shared Element ID could not be found/invalid nativeID has been set [#fcf23d2](https://github.com/wix/react-native-navigation/commit/fcf23d2e283e4031767864f6360051d9326c2475) by [mrousavy](https://github.com/mrousavy) - Fix edge case where title wasn't visible if subtitle was also declared [#1878393](https://github.com/wix/react-native-navigation/commit/1878393eb05d42bbb2099567a55cc35d6fc61595) by [yogevbd](https://github.com/yogevbd) - Fix Bicolor status bar disappears on setRoot [#83a5afa](https://github.com/wix/react-native-navigation/commit/83a5afa84b3ed79284a1c28c4634506d0641df02) by [yogevbd](https://github.com/yogevbd) - Remove obsolete bootstrap methods [#5c5ec9e](https://github.com/wix/react-native-navigation/commit/5c5ec9e04901b5825953e6c9e3bcb587a45984cd), [#8d9e358](https://github.com/wix/react-native-navigation/commit/8d9e35895712d8c5f6685a6f92c93429246ebb96) by [danilobuerger](https://github.com/danilobuerger) - Support fade animation in setRoot [#acc7f12](https://github.com/wix/react-native-navigation/commit/acc7f1276803d6bdb7fa5e1affc9f958d9923466) by [yogevbd](https://github.com/yogevbd) - Properly resolve fontFamily and fontWeight [#a3e8189](https://github.com/wix/react-native-navigation/commit/a3e8189d3725a292277c138a3da234b7864fc131) by [yogevbd](https://github.com/yogevbd) - Fix crash when navigating to a screen without a TopBar title text from a screen with LargeTitle [#0c9c996](https://github.com/wix/react-native-navigation/commit/0c9c99691909c292f69aca16738a0aba97630e5c) by [mateioprea](https://github.com/mateioprea) - Fix border being visible when LargeTitle is used even though `noBorder:true` was specified [#29365dc](https://github.com/wix/react-native-navigation/commit/29365dc86d92f7de2bf94231b0d59d3e2bf6c073) by [mateioprea](https://github.com/mateioprea) #### Android - Fixed animating images with different `scaleType` in Shared Element Trnaisiton [#382e69a](https://github.com/wix/react-native-navigation/commit/382e69abddf5eae95969e12e648f04197a7b2a89) by [guyca](https://github.com/guyca) # 6.12.0 ## Added ### iOS - Enable PlatformColor / DynamicColorIOS for iOS [#57519ca](https://github.com/wix/react-native-navigation/commit/57519cab1cac1a4c6ebe9165db3bd4a4449d3720) by [danilobuerger](https://github.com/danilobuerger) ## Fixed - Fix option processors path resolving [#f37d465](https://github.com/wix/react-native-navigation/commit/f37d465dd7339f4e9eca4e6c27be883e711b7ff2) by [yogevbd](https://github.com/yogevbd) ### Android - Fix white screen when back was pressed during show modal animation [#58f72f8](https://github.com/wix/react-native-navigation/commit/58f72f8033f703b1f83c935fce7c70e67dd9b5c2) by [guyca](https://github.com/guyca) - Fix issue where right buttons which were added with mergeOptions were not unmounted [#3c5e8e4](https://github.com/wix/react-native-navigation/commit/3c5e8e4454edef3220fa9f40025b6703446d76fa) by [guyca](https://github.com/guyca) - Resole popToRoot promise successfully even when it's called while there's nothing to pop [#ec2b0a0](https://github.com/wix/react-native-navigation/commit/ec2b0a0e367f99807c0c67068cbcff40e6cb23a7) by [guyca](https://github.com/guyca) - Resize title component when buttons are added to TopBar [#a66e8e9](https://github.com/wix/react-native-navigation/commit/a66e8e93b456ec911aed7a5a49c14ea0a689c0b9) by [guyca](https://github.com/guyca) ### iOS - Fix bug where screen became unresponsive if user tried to interact with elements during momentum scroll [#cb74af5](https://github.com/wix/react-native-navigation/commit/cb74af57f0bea7f2a4517e1f7b14959af8a79f20) by [yogevbd](https://github.com/yogevbd) - Fix category warnings for RNNInterpolationOptions [#a13698b](https://github.com/wix/react-native-navigation/commit/a13698b0863c46fc2f708e7e6eae3f37d5f55237) by [danilobuerger](https://github.com/danilobuerger) # 6.11.0 ## Added - Update NavigationComponent typings - include passProps in static options generate [#813c1a2](https://github.com/wix/react-native-navigation/commit/813c1a271225a802c9f828aae798a22c47e9752d) by [guyca](https://github.com/guyca) - Include componentId in props passed to static options generator [#c4f8eb2](https://github.com/wix/react-native-navigation/commit/c4f8eb2932a9cdb85686339282ca6cc97c6918ce) by [guyca](https://github.com/guyca) ### iOS - Add primaryBackgroundStyle option to splitView [#9ba863a](https://github.com/wix/react-native-navigation/commit/9ba863a5090c636c47939a709c5b8e4e81767421) by [frane](https://github.com/frane) ## Fixed ### iOS - Fixed case where options were not merged correctly under certain conditions [#c9e5309](https://github.com/wix/react-native-navigation/commit/c9e5309f87bdae31cd2d90a51ead201b297bbf94) by [yogevbd](https://github.com/yogevbd) - Fix toggling StatusBar visibility with mergeOptions [#36e0e81](https://github.com/wix/react-native-navigation/commit/36e0e81dfb796406f7a0be3861178eaa2b1c2cd5) by [yogevbd](https://github.com/yogevbd) ### Android - Fix button fontSize being applied in pixels instead of dp [#8d1309f](https://github.com/wix/react-native-navigation/commit/8d1309f4be88215d6c2e67a19475c88a39d3ff98) by [guyca](https://github.com/guyca) # 6.10.0 ## Added - New Options Processor API [#1d4d054](https://github.com/wix/react-native-navigation/commit/1d4d05460f323e31ccc87f614560f82876baa50c) by [yogevbd](https://github.com/yogevbd) - New Layout Processor API [#4f4a04e](https://github.com/wix/react-native-navigation/commit/4f4a04e25c2d64052810b75cda1e51aafc0f1a08) by [yogevbd](https://github.com/yogevbd) - Type component options in NavgationComponent and NavigationFunctionalComponent [#b23ab25](https://github.com/wix/react-native-navigation/commit/b23ab2598225466e1e49d7f7dd73c696060fed98) ### Android - Support Shared Element Transition in pop [#80a52a2](https://github.com/wix/react-native-navigation/commit/80a52a23f6d3143de10421c036c2ed9deb152589) by [guyca](https://github.com/guyca) - Add allCaps option to TopBar buttons [#a561a80](https://github.com/wix/react-native-navigation/commit/a561a80e9dd36d5cf40b9952cab022583ed9bee5) by [guyca](https://github.com/guyca) ### iOS - Deprecate toggling BottomTabs on iOS [#aaef66b](https://github.com/wix/react-native-navigation/commit/aaef66b56ced621c48252d6d11a59fb3f4a1d776) by [yogevbd](https://github.com/yogevbd) - Fabric support [#6ecdb51](https://github.com/wix/react-native-navigation/commit/6ecdb515bd1c06a923987eefcad99d02f66c3bbc) by [ericlewis](https://github.com/ericlewis) ## Fixed ### Android - Fix overlay touch detection [#5e03718](https://github.com/wix/react-native-navigation/commit/5e0371885db750844989981db53c0929e98d9baf) by [guyca](https://github.com/guyca) - Fix flickering BottomTabs when pushing a screen with waitForRender [#7add403](https://github.com/wix/react-native-navigation/commit/7add403d39a3d6eceef7c3c28443be425ecec9ef) by [guyca](https://github.com/guyca) ### iOS - Support calling setDefaultOptions before appLaunch event is emitted [#87e7b1a](https://github.com/wix/react-native-navigation/commit/87e7b1afa280e6788385f3fcbd29350f9149a839) by [yogevbd](https://github.com/yogevbd) # 6.9.1 ## Fixed ### Android - Fix changing disabled button color [#1b291c6](https://github.com/wix/react-native-navigation/commit/1b291c63458052e44ef6b03ff7daf7e4d3dd84a4) by [guyca](https://github.com/guyca) # 6.9.0 ## Added - Introduced a new API to lazily register components [#81c0f87](https://github.com/wix/react-native-navigation/commit/81c0f8715f194670865e239ab6539c595b441924) by [yedidyak](https://github.com/yedidyak) ## Fixed ### Android - Emit componentDidAppear after appear animation completes [#b9310bf](https://github.com/wix/react-native-navigation/commit/b9310bf7545d1c15b2f716a98aaab3eb34b4b504) by [guyca](https://github.com/guyca) - Fix overflow menu item text color affected by `button.color` option [#2f0095f](https://github.com/wix/react-native-navigation/commit/2f0095fa238cb3f7109fa1756da1593be0ec2d3d) by [guyca](https://github.com/guyca) ### iOS - Fix incorrect SideMenu dimensions after orientation change [#22444b1](https://github.com/wix/react-native-navigation/commit/22444b1fc27f0dcf1a59885ec5f5656b241790c6) by [yogevbd](https://github.com/yogevbd) - Fix back button testID option not being applied [#9676e9c](https://github.com/wix/react-native-navigation/commit/9676e9cd7895fa76c6c30254068038f1de720109) by [yogevbd](https://github.com/yogevbd) # 6.8.0 ## Added - Proper error handling in link script [#daa48ca](https://github.com/wix/react-native-navigation/commit/daa48caa44831efdb60a6b394eb56cf6a94b4f9f) by [eduardopelitti](https://github.com/eduardopelitti) - Replace deprecated link process [#4c3ed45](https://github.com/wix/react-native-navigation/commit/4c3ed4511a3a7f81586705b24b36e84e21436980) by [eduardopelitti](https://github.com/eduardopelitti) - Add NavigationFunctionComponent interface [#c56630e](https://github.com/wix/react-native-navigation/commit/c56630e1ca7ed6575ac49c0c0c53a32b7ac3ff05) by [elizabeth-dev](https://github.com/elizabeth-dev) - Export EventsRegistry [#057f11b](https://github.com/wix/react-native-navigation/commit/057f11b8eb6180066d719e83b9a8f39fe567d1b0) by [yedidyak](https://github.com/yedidyak) ### Android - Implement bottomTabs.hideOnScroll [#9544f41](https://github.com/wix/react-native-navigation/commit/9544f412e88505dec5aee4472b736689a0fe249a) by [guyca](https://github.com/guyca) ## Fixed - Fix updateProps creating new props object [#b1a1e0d](https://github.com/wix/react-native-navigation/commit/b1a1e0d9ee5e00cd6c71ec3df2c8cc0c2c18fb7f) by [jinshin1013](https://github.com/jinshin1013) ### iOS - Fixes badgeColor not being applied on ios 13+ [#28928e5](https://github.com/wix/react-native-navigation/commit/28928e567edac38a99c9aa71e3749e2e32364ec5) by [DaveAdams88](https://github.com/DaveAdams88) - Fix black/white flickering when dismissing modals [#fd38fff](https://github.com/wix/react-native-navigation/commit/fd38fffeebbfca8edd8ddebccb4002c3349e5e9f) by [simonmitchell](https://github.com/simonmitchell) - Fix registerBottomTabSelectedListener unselected value [#fbb72f2](https://github.com/wix/react-native-navigation/commit/fbb72f25df7097f5345d4e769b8cb736e2145785) by [yogevbd](https://github.com/yogevbd) - Fix bottomTabs long press event [#814de45](https://github.com/wix/react-native-navigation/commit/814de45558a2bc250acc9c496e3974b54888592a) by [yogevbd](https://github.com/yogevbd) - Fix hiding the SearchBar on iOS 11+ [#58674e8](https://github.com/wix/react-native-navigation/commit/58674e8baf06b09187039897a6ba27aff99ec8cb) by [jinshin1013](https://github.com/jinshin1013) ### Android - Don't create Navigator if the Activity is finishing [#5c6ccd1](https://github.com/wix/react-native-navigation/commit/5c6ccd12c62190edbef4a614b24374b2402ac90c) by [JK0N](https://github.com/JK0N) - Fix crash when disabledButtonColor is undefined and attempting to show a disabled button [#3fae8ed](https://github.com/wix/react-native-navigation/commit/3fae8ededc31e4d10e9e4153a614e9f3d159d650) by [guyca](https://github.com/guyca) - TopBar title and subtitle font size is measured in dp instead of sp [#88e65de](https://github.com/wix/react-native-navigation/commit/88e65defb91e30292e73d228f602b126e1064b59) by [guyca](https://github.com/guyca) - Fix crash when currentTabIndex is defined [#fbe81d0](https://github.com/wix/react-native-navigation/commit/fbe81d05b5074e82e32c08456b9688cf8c9f4a25) by [guyca](https://github.com/guyca) # 6.7.5 ## Fixed - Fix TypeScript compilation errors [#2225e97](https://github.com/wix/react-native-navigation/commit/2225e971265a58fec7715630d782d8a8845f48fa) by [ItsNoHax](https://github.com/ItsNoHax) # 6.7.4 ## Fixed ### iOS - Fix wrong options being applied when selected tab changes [#bd710bc](https://github.com/wix/react-native-navigation/commit/bd710bc0bd91ebdc41c3ebca6cf79ad84b91738e) by [yogevbd](https://github.com/yogevbd) # 6.7.3 ## Fixed ### iOS - Restore bottomTabs visibility when needed [#80eb489](https://github.com/wix/react-native-navigation/commit/80eb4893ef2c86c2e20480c61c03fc2dc99979f1) by [yogevbd](https://github.com/yogevbd) # 6.7.2 ## Fixed ### iOS - Fix BottomTabs visibility not working for pushed screens and mergeOptions [#ab63850](https://github.com/wix/react-native-navigation/commit/ab63850a405d01d40689478b3f408fc30ab1d382) by [yogevbd](https://github.com/yogevbd) # 6.7.0 - 6.7.1 ## Added - Export TypeScript interfaces to streamline work with NavigationComponent + introduce `Navigation.events().registerComponentListener()` api [#ec7f324](https://github.com/wix/react-native-navigation/commit/ec7f32404d1a8cba79517f12c36eccaa4b13d3e2) by [yogevbd](https://github.com/yogevbd) ## Fixed - Unmount previous root before resolving setRoot promise [#86b344c](https://github.com/wix/react-native-navigation/commit/86b344c7a287815a79891d7a9491c893c8081339) by [guyca](https://github.com/guyca) and [yogevbd](https://github.com/yogevbd) - Ensure component generator passed to Navigation.registerComponent is invoked only once [#8ec7bcd](https://github.com/wix/react-native-navigation/commit/8ec7bcd83ae7fc721ce026cd11fb62df136edeac) by [guyca](https://github.com/guyca) ### Android - Fix updating button options with mergeOptions [#b2df65a](https://github.com/wix/react-native-navigation/commit/b2df65a5fb245f123ea96cd2785ebc065cb065ea) by [guyca](https://github.com/guyca) - Fix react-native-youtube support [#4d8d2ae](https://github.com/wix/react-native-navigation/commit/4d8d2ae40a0455fb5187cb965213fe350052bc50) by [guyca](https://github.com/guyca) - Fix sideMenu.enabled option getting cleared when set on one drawer and the other drawer is opened [#67191e9](https://github.com/wix/react-native-navigation/commit/67191e9e7c915d612f83136e47000ed6311591e1) by [guyca](https://github.com/guyca) - Mount all stack children after initial child is mounted [#a1beebe](https://github.com/wix/react-native-navigation/commit/a1beebe74beb265ed196e9e322a85aa40b84aa98) by [guyca](https://github.com/guyca) - Fix flickering FAB when changing bottom tabs [#9a8bc54](https://github.com/wix/react-native-navigation/commit/9a8bc54dd41f91fbc90c3d8e44f02884dcdaa02c) by [guyca](https://github.com/guyca) - Fix touch handling in nested Touchables in an Overlay [#851703c](https://github.com/wix/react-native-navigation/commit/851703c0caa75e4b6d8ad66f672ad0dc855842c4) by [guyca](https://github.com/guyca) ### iOS - Send screen popped event only for rnn components [#0b7507d](https://github.com/wix/react-native-navigation/commit/0b7507d75f05590af7c933d5949b01aa7db04993) by [yogevbd](https://github.com/yogevbd) - Fix bottomTabs visibility issues [#4e1ac71](https://github.com/wix/react-native-navigation/commit/4e1ac713944373d8d2c5b251912e1a872b2d00a7) by [yogevbd](https://github.com/yogevbd) # 6.6.0 ## Fixed ### Android - Fix showing Modal from TopBar components in RN 62 [94862ed](https://github.com/wix/react-native-navigation/commit/94862ed66883646d636be95aeaaccd40394b8082) by [guyca](https://github.com/guyca) # 6.5.0 ## Added ### Android - Added `width` and `height` options to button component which can be used to set exact measurements to button components [#42a6917](https://github.com/wix/react-native-navigation/commit/42a6917eeee149f7348a4eaf524ba76bac1240cf) by [guyca](https://github.com/guyca) - Reuse button component if a component with the same id already exists [#42a6917](https://github.com/wix/react-native-navigation/commit/42a6917eeee149f7348a4eaf524ba76bac1240cf) by [guyca](https://github.com/guyca) - Allow hiding the NavigationBar [#7f6353b](https://github.com/wix/react-native-navigation/commit/7f6353bcead9c6d6e87d72574e0fec29ad9f2d19) by [M-i-k-e-l](https://github.com/M-i-k-e-l) - Support `rotation` animation in shared element transition [#03dd211](https://github.com/wix/react-native-navigation/commit/03dd211a5425cf14586ef49814c1d3716aeb8441) by [guyca](https://github.com/guyca) - Implement shared element transition `interpolation` option [#e80eb92](https://github.com/wix/react-native-navigation/commit/e80eb9275a04921976127f8c2775f37088f133c1) by [guyca](https://github.com/guyca) - Implement shared element transition `startDelay` option [#334ab71](https://github.com/wix/react-native-navigation/commit/334ab7174a599f18af66eca6cee7409bee7537e7) by [guyca](https://github.com/guyca) ### iOS - Implement rotate animation for shared element transition [#5d9e910](https://github.com/wix/react-native-navigation/commit/5d9e9100b771ca76ac20b916f945406460084b9b) by [yogevbd](https://github.com/yogevbd) ## Fixed ### iOS - Fixed invalid modalPresentationStyle.popover enum value [#951a07b](https://github.com/wix/react-native-navigation/commit/951a07bb5571dbda2a0c9b665969bc25fc5ae784) by [rfnd](https://github.com/rfnd) - Fix incorrect layout after changing BottomTabs visibility [#21cafcd](https://github.com/wix/react-native-navigation/commit/21cafcdecca8264dd2157d172dab24d8d4b5b4e6) by [yogevbd](https://github.com/yogevbd) - Fix SafeAreaView measurement in SideMenu [#0da097e](https://github.com/wix/react-native-navigation/commit/0da097ef8471670e6550152fa5ebbdf4a02b3478) by [rfnd](https://github.com/rfnd) - Fix backButton.color change on mergeOptions [#da0fd19](https://github.com/wix/react-native-navigation/commit/da0fd194f88b8f1042a0fe74bbf91e75ffac95b3) by [yogevbd](https://github.com/yogevbd) - Fix bottomTab colors in landscape orientation [#89402dc](https://github.com/wix/react-native-navigation/commit/89402dc31a3769b4fb1326b95170961497011caf) by [yogevbd](https://github.com/yogevbd) - FIx screenPopped event not emitted if screen is popped with pop command [#2f31a2f](https://github.com/wix/react-native-navigation/commit/2f31a2fa703659f153162274c846a8f137ee94d1) by [yogevbd](https://github.com/yogevbd) ### Android - Set textual TopBar button style options by spans instead of applying them on the view [#42a6917](https://github.com/wix/react-native-navigation/commit/42a6917eeee149f7348a4eaf524ba76bac1240cf) by [guyca](https://github.com/guyca) - Ensure Component layout is not created prematurely by mergeOptions [#111df5a](https://github.com/wix/react-native-navigation/commit/111df5a3ba51ba6762cffd7119071bb4f71d18f7) by [guyca](https://github.com/guyca) - Resolve tabsAttachMode from default options [#a4b2c76](https://github.com/wix/react-native-navigation/commit/a4b2c76a9d9b934192a4deee496c3ecef4c184ff) by [guyca](https://github.com/guyca) - Support declaring currentTabIndex and currentTabId in default options [#3e5be29](https://github.com/wix/react-native-navigation/commit/3e5be29af8b1b78be1eec9ebf970b9204354a052) by [guyca](https://github.com/guyca) - Fix BottomTabs size not adjusted after orientation change [#aa7908c](https://github.com/wix/react-native-navigation/commit/aa7908c57d141c7bb49de64a8e071330a8f7af31) by [guyca](https://github.com/guyca) # 6.4.0 ## Fixed ### iOS - Fix styling options on iOS 13.4 [#950ac64](https://github.com/wix/react-native-navigation/commit/950ac6404fe1a43021426803d4fdad4ed4711476) by [yogevbd](https://github.com/yogevbd) - Fix white flicker when pushing a screen [#a2bdfac](https://github.com/wix/react-native-navigation/commit/a2bdfacb27065f2101c3228df98484ba4ec68e03) by [RobertPaul01](https://github.com/RobertPaul01) - Fix white topBar on pop with swipe gesture [#6227321](https://github.com/wix/react-native-navigation/commit/62273214f0590007ce81be2aef6da1f05e035c4a) by [yogevbd](https://github.com/yogevbd) ### Android - Fix title component not being replaced via mergeOptions [#b0e8a82](https://github.com/wix/react-native-navigation/commit/b0e8a824f5e1ec141c9d3030dc21f242902ec29f) by [guyca](https://github.com/guyca) # 6.3.3 ## Fixed ### iOS - Fix status bar visibility on iOS 13 [#f487134](https://github.com/wix/react-native-navigation/commit/f487134d8e4c302f69453c093c49fde17dba46fe) by [yogevbd](https://github.com/yogevbd) # 6.3.1 - 6.3.2 ## Added - Custom component reference id OptionsTopBarButton typing [#6046372](https://github.com/wix/react-native-navigation/commit/60463729e5e4ace5c4c81ddc854ee2421b431c86) by [jarnove](https://github.com/jarnove) ## Fixed ### Android - Always resolve dismissAllModals promise [#ec03383](https://github.com/wix/react-native-navigation/commit/ec03383b0de4fe092ddbef807850d131a42a1e7f) [#52bcd5b](https://github.com/wix/react-native-navigation/commit/52bcd5ba5090622db37055d0a18cb673673affa0) by [guyca](https://github.com/guyca) # 6.3.0 ## Fixed ### iOS - Fix symbol collision with react-native-keyboard-input [#8ad40e1](https://github.com/wix/react-native-navigation/commit/8ad40e1ab23116d432e888801c07b57c6c09ad37) by [yogevbd](https://github.com/yogevbd) - Fix overlays touch interception on new iPads [#2ed434c](https://github.com/wix/react-native-navigation/commit/2ed434c952b7c9326d9547005caa8c0601e58cb4) - Removes unable to find UIManager module warning [#ba12604](https://github.com/wix/react-native-navigation/commit/ba1260402cc15409ddfef46fd5cad180d5e1a60f) - Reject pop command when viewController not found in the hierarchy [#4413aa4](https://github.com/wix/react-native-navigation/commit/4413aa4a76628449116cf9bc7294696a490d6a65) - Fix mergeOptions merging options with wrong child [#3c38c50](https://github.com/wix/react-native-navigation/commit/3c38c50a8b53e958a21e6fb7453622463e9870ff) - Fix build warnings and possible retain cycles issues [#3f8577d](https://github.com/wix/react-native-navigation/commit/3f8577da7d23a2e4698d27d12bf9de55be39e7ef) - Fix bottomTab icon hidden after setting badge [#124f975](https://github.com/wix/react-native-navigation/commit/124f975f42ebaf124d9e7c58296eaafd0f617ad9) by [yogevbd](https://github.com/yogevbd) # 6.2.0 ## Added - Add windows support to build scripts vai `npm run start-windows` command [#afb5bff](https://github.com/wix/react-native-navigation/commit/afb5bffb49b9e8c670419aaacedf10f65cf82fd2) by [mayconmesquita](https://github.com/mayconmesquita) ## Fixed ### iOS - Fix largeTitle background color on iOS 13 no being applied [#979cb6e](https://github.com/wix/react-native-navigation/commit/979cb6e08f80bd0b6b8e9286eb21d3c255c88312) by [yogevbd](https://github.com/yogevbd) - Fix bottomTabs attach mode not working when BottomTabs are inside SideMenu [#7d6029f](https://github.com/wix/react-native-navigation/commit/7d6029f06bd3b4f4336d0d50a1621a5291e43fa7) by [yogevbd](https://github.com/yogevbd) - Fix crash on iOS 10 when displaying stack layouts [#e923b8c](https://github.com/wix/react-native-navigation/commit/e923b8c02204e31d1ce6781dab11ebeabc2af218) [RomualdPercereau](https://github.com/RomualdPercereau) # 6.1.2 ## Fixed ### iOS - Fix modal presentation style not being applied on some layouts [#931167e](https://github.com/wix/react-native-navigation/commit/931167e039000502d4198244c450dacce3c39809) by [yogevbd](https://github.com/yogevbd) - Fix truncated bottomTab.text with semibold fontWeight [#b01629c](https://github.com/wix/react-native-navigation/commit/b01629c41da9197ee0737c937c02684c73dd9042) by [yogevbd](https://github.com/yogevbd) - Always drawBehind bottomTabs and topBar when translucent: true [#6edbbf5](https://github.com/wix/react-native-navigation/commit/6edbbf512f2230ee0bceaf73c7895bca90475700) by [yogevbd](https://github.com/yogevbd) - drawBehind when largeTitle is visible - fixes black large title [#6edbbf5](https://github.com/wix/react-native-navigation/commit/6edbbf512f2230ee0bceaf73c7895bca90475700) by [yogevbd](https://github.com/yogevbd) # 6.1.1 ## Fixed ### iOS - Create new UITabBarItem instance on each bottomTab update [#3757ff7](https://github.com/wix/react-native-navigation/commit/3757ff7aa64cc9b6b8054af3e27b3865e27b2f9f) by [yogevbd](https://github.com/yogevbd) - Delete duplicate misplaced files in root directory [#6d61ec0](https://github.com/wix/react-native-navigation/commit/6d61ec0e6cabeddc41b5860b4cb5b24f3de92dc2) by [ItsNoHax](https://github.com/ItsNoHax) # 6.1.0 ## Added - Add componentName to modalDismiss event [#1c2558d](https://github.com/wix/react-native-navigation/commit/1c2558d77e489e2a35adc3a60eebed97ebf52add) by [jinshin1013](https://github.com/jinshin1013) ## Fixed ### iOS - Support changing backButton fontFamily and fontSize [#b438588](https://github.com/wix/react-native-navigation/commit/b4385883de9ff07ed8915cdcd6f78ddc26bb6691) by [yogevbd](https://github.com/yogevbd) - Fixed bottomTab text color not working correctly on iOS13 [#211a46e](https://github.com/wix/react-native-navigation/commit/211a46e087213bc72c166a4332cd1d3d0fa01be2) by [yogevbd](https://github.com/yogevbd) - Support backButton.testID [#e1b76c1](https://github.com/wix/react-native-navigation/commit/e1b76c1fe222a4153eddedf43caba5dd457aadb9) by [yogevbd](https://github.com/yogevbd) - Handle statusBar.visible in all layout types and not only in components [#a2f5dbd](https://github.com/wix/react-native-navigation/commit/a2f5dbd3131f2cc158a650a01a1b9e271c2952f2) by [yogevbd](https://github.com/yogevbd) - Fix a lot of large title issues [#54b2855](https://github.com/wix/react-native-navigation/commit/54b285531ea43e0dae76ae08af7de923ccf5917c) - Fix title and subtitle color animations when popping screens [#5210848](https://github.com/wix/react-native-navigation/commit/52108484cc59ad8aaec9ef51b3c370c7ac80128f) by [yogevbd](https://github.com/yogevbd) ### Android - Stop rejecting dismissAllModals promise if no modals are displayed [#30b0b47](https://github.com/wix/react-native-navigation/commit/30b0b47b712cd1882b9c944a125c9d06ca5e0dd8) by [guyca](https://github.com/guyca) - Support tabs without icons on Android [#ef58a6c](https://github.com/wix/react-native-navigation/commit/ef58a6cdeb1c4ea90ff528af50d6d2dc572f9f28) by [guyca](https://github.com/guyca) - Fix autolink script - set minSdk to 19 [#4ce0e89](https://github.com/wix/react-native-navigation/commit/4ce0e89b06b9ab29d4be5d2eb0d11419deaade7a) by [jinshin1013](https://github.com/jinshin1013) - ExternalComponentController extends ViewController [#c33ff12](https://github.com/wix/react-native-navigation/commit/c33ff1291ded4b171ef7b3f0736c5bc5b169d850) by [guyca](https://github.com/guyca) - Support [react-native-youtube](https://github.com/davidohayon669/react-native-youtube) [#2793a02](https://github.com/wix/react-native-navigation/commit/2793a022729043d271fa6ffd80df62297c5f76fa) # 6.0.1 ## Fixed ### iOS - Fix applying drawBehind through mergeOptions [#e002a68](https://github.com/wix/react-native-navigation/commit/e002a68110cb75877982aed9c693ece8382c7942) by [yogevbd](https://github.com/yogevbd) # 6.0.0 This release changes how layout.backgroundColor work on iOS to add parity with Android. - layout.backgroundColor - applies background color to parent layouts (Stack, BottomTabs, SideMenu etc) - layout.componentBackgroundColor - applies background color only to components ## Fixed ### Android - Fix custom push animations not working [#c9232cb](https://github.com/wix/react-native-navigation/commit/c9232cb9e49e02cd1975d16de01fa2a6186032b0) by [guyca](https://github.com/guyca) ### iOS - Remove draw behind deprecation [#950642d](https://github.com/wix/react-native-navigation/commit/950642d48b2ec67f510ae6b3eefaaeb1ebfcf43d) by [yogevbd](https://github.com/yogevbd) - Fix layout.backgroundColor being applied to components, it's now applied to parent layouts [#950642d](https://github.com/wix/react-native-navigation/commit/950642d48b2ec67f510ae6b3eefaaeb1ebfcf43d) by [yogevbd](https://github.com/yogevbd) - Implement layout.componentBackgroundColor which is applied only to component ViewControllers [#950642d](https://github.com/wix/react-native-navigation/commit/950642d48b2ec67f510ae6b3eefaaeb1ebfcf43d) by [yogevbd](https://github.com/yogevbd) # 5.1.1 ## Fixed ### iOS - Apply extendedLayoutIncludesOpaqueBars true on all viewControllers (this commit was originally added to v4 and was left out of v5 my mistake) [#9fefeca](https://github.com/wix/react-native-navigation/commit/9fefeca9be9844fc80f839a532c97f5c4fa1d299) ### Android - Fix crash when mergeOptions were called before stack view was created [#defc2aa](https://github.com/wix/react-native-navigation/commit/defc2aaa6e7c845c05cabe8c5753cc6a68ab5830) by [guyca](https://github.com/guyca) # 5.1.0 ## Added ### iOS - Add window.backgroundColor option [#c99ecf9](https://github.com/wix/react-native-navigation/commit/c99ecf9b145f453a9674c965d1634bcdece973b6) by [yogevbd](https://github.com/yogevbd) # 5.0.0 This release is focuses on shared element transition and on improving the installation process of the library. ## Upgrading from V4 ### Remove missingDimensionStrategy from app/build.gradle Since RNN supports multiple react-native versions, the library has multiple flavors, each targeting a different RN version. We now chose the appropriate flavor based on the react-native version installed in node_modules. ```diff -missingDimensionStrategy "RNN.reactNativeVersion", "reactNativeXX" // Where XX is the minor number of the react-native version you're using ``` ### Declare Kotlin version in build.gradle We're starting to migrate RNN to Kotlin. All new code is written in Kotlin and existing code will be gradually converted to Kotlin. This requires you to declare the Kotlin version you're using in your project. ```diff buildscript { ext { + kotlinVersion = "1.3.61" // Or any other kotlin version following 1.3.x + RNNKotlinVersion = kotlinVersion + RNNKotlinStdlib = "kotlin-stdlib-jdk8" } dependencies { + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } ``` ### Update MainApplication.java In an effort to simplify RNN's integrations process as much as possible, we're minimizing the changes required to both MainApplication and MainActivity. ```diff +import com.facebook.react.PackageList; public class MainApplication extends NavigationApplication { - @Override - protected ReactNativeHost createReactNativeHost() { - return new NavigationReactNativeHost(this) { + private final ReactNativeHost mReactNativeHost = new NavigationReactNativeHost(this) { @Override protected String getJSMainModuleName() { return "index"; } + @Override + public boolean getUseDeveloperSupport() { + return BuildConfig.DEBUG; + } + @Override + public List<ReactPackage> getPackages() { + ArrayList<ReactPackage> packages = new PackageList(this).getPackages(); + return packages; + } + } - } + @Override + public ReactNativeHost getReactNativeHost() { + return mReactNativeHost; + } - @Override - public boolean isDebug() { - return BuildConfig.DEBUG; - } - @Nullable - @Override - public List<ReactPackage> createAdditionalReactPackages() { - List<ReactPackage> packages = new ArrayList<>(); - return packages; - } } ``` ### Update settings.gradle Since RNN now supports auto linking, declaring the dependency manually is no longer needed. ```diff -include ':react-native-navigation' -project(':react-native-navigation').projectDir = new File(rootProject.projectDir, '../../lib/android/app/') ``` ### Make sure your app supports auto linking #### Update `app/build.gradle` Add these lines to the bottom of your `app/build.gradle` file. ```diff +apply from: file("../../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle") +applyNativeModulesAppBuildGradle(project) ``` #### Update `settings.gradle` ```diff +apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle") +applyNativeModulesSettingsGradle(settings) include ':app' ``` ### Remove RNN pod from podspec As RNN is now autolinked, remove its pod from your podspec file. This will ensure the correct version is linked when running `pod install` ```diff - pod 'ReactNativeNavigation', :podspec => '../node_modules/react-native-navigation/ReactNativeNavigation.podspec' ``` ## Breaking Changes ### Modal animation parity show and dismiss animation api have been fixed and are now in parity with Android api. If you've defined a custom modal animation, you can now consolidate the animation declarations. <table> <tr> <td>New Android + iOS API</td> <td>Unsupported iOS API</td> </tr> <tr> <td> ```js options: { animations: { showModal: { alpha: { from: 0, to: 1, duration: 250, } } } } ``` </td> <td> ```js options: { animations: { showModal: { content: { alpha: { from: 0, to: 1, duration: 250 } } } } } ``` </td> </tr> </table> ### drawBehind is deprecated on iOS > ❗️topBar and bottomTabs drawBehind option will be removed in the next major version. The drawBehind option has been an anti pattern on iOS from the start and was introduced only for parity with Android api. On iOS, when a ScrollView or a SafeAreaView are used as screen root; the system handles insets automatically. As adoption of notch devices increases, developers use these views regularly, rendering the drawBehind option useless. > **During the migration phase, leave Android options unchanged and set `drawBehind: true` to both TopBar and BottomTabs in default options.** ### Android: Animation values are now declared in dp If you're animating `translationY` or `translationX` pass these values in dp instead of pixels. This is especially relevant to values returned by `await Navigation.constants()` api as these values are returned in dp. Now, if you'd like to use them in animations, you can do so without converting to pixels. # 4.8.1 ## Fixed ### Android - Fix NPE when showing Overlay [#bfde34a](https://github.com/wix/react-native-navigation/commit/bfde34a5862c971587583aa52cb450cf526d5c66) by [guyca](https://github.com/guyca) ### iOS - Fix overlays touch interception on new iPads [#433f48b](https://github.com/wix/react-native-navigation/commit/433f48b59d9be5aa328361654341afa8414c2e21) by [yogevbd](https://github.com/yogevbd) # 4.8.0 ## Fixed ### Android - Support react-native-youtube [#ffbd288](https://github.com/wix/react-native-navigation/commit/ffbd2882b24109ff8f2b51ca3c8c88822cc9afb7) by [guyca](https://github.com/guyca) ### iOS - Fix wrong SafeAreaView margins when using bottomTabs.drawBehind: true [#527fd49](https://github.com/wix/react-native-navigation/commit/527fd49f2f1517143032a8b14f6ab17d2f74c032) by [yogevbd](https://github.com/yogevbd) # 4.7.1 ## Fixed - Move selectTabOnPress prop to correct interface [#d6ead65](https://github.com/wix/react-native-navigation/commit/d6ead65c9331f12d3f79fc3b5bb7e0a0de80816e) by [phanghos](https://github.com/phanghos) ### iOS - Fix external components layout measurement [#1961181](https://github.com/wix/react-native-navigation/commit/196118186fb788200dafcc1e11cd9f7d6e3f6dda) by [yogevbd](https://github.com/yogevbd) # 4.7.0 ## Added - On tab press event - handle tab selection in Js [#b153142](https://github.com/wix/react-native-navigation/commit/b1531428a0a9608b5d1c84547f228d5de0c1aca2) by [pontusab](https://github.com/pontusab) - RN 0.62 support on Android [#4bfa7c5](https://github.com/wix/react-native-navigation/commit/4bfa7c5092ac0ca6708b4bd61bd63e59601e8f3e) by [safaiyeh](https://github.com/safaiyeh) ## Fixed ### Android - Fix dotIndicator not respecting initial visibility option [#d9bd03f](https://github.com/wix/react-native-navigation/commit/d9bd03fea7465acadb6ef17613f8fe98e8be4eb1) by [itsam](https://github.com/itsam) ### iOS - Set default fontsize value for title and subtitle [#0741799](https://github.com/wix/react-native-navigation/commit/0741799281a43380bc419886a19a8e72fc32d042) by [maryjenel](https://github.com/maryjenel) - Respect default options when updating bottomTab options [#513138e](https://github.com/wix/react-native-navigation/commit/513138ebd9c620ba9e8d2b8a4a154ced790de1b2) by [yogevbd](https://github.com/yogevbd) # 4.6.0 ## Added ### Android - Adapt NavigationBar buttons color according to NavigationBar background color [#6521177](https://github.com/wix/react-native-navigation/commit/65211775f6b354945a9dc5a3f7791ddfdd20ebab) by [rverbytskyi](https://github.com/rverbytskyi) ## Fixed ### Android - Disable TopBar scroll when nestedScrollEnabled is enabled [#9a361a4](https://github.com/wix/react-native-navigation/commit/9a361a4fe340f5af18e1fa87b02f5e7e1f41646d) by [guyca](https://github.com/guyca) - Reject promise when trying to push two children with same id [#27ceea8](https://github.com/wix/react-native-navigation/commit/27ceea8fb92506fdd756e45768e7235e3e7babc6) by [guyca](https://github.com/guyca) - Fix drawBehind in default options not working [#0e93366](https://github.com/wix/react-native-navigation/commit/0e933661aed9cb4a6cad6e1e1fa5a352f371f754) by [guyca](https://github.com/guyca) ### iOS - Fix merge options leaks to next screen in stack [#386bf65](https://github.com/wix/react-native-navigation/commit/386bf65d251f0c6582de2cf529487dfafc69bc9d) by [yogevbd](https://github.com/yogevbd) - Invoke all commands on the main thread [#8843224](https://github.com/wix/react-native-navigation/commit/8843224a9aed33a9fd92323db48ab80f50cae72f) by [yogevbd](https://github.com/yogevbd) - Resolve navigationItem from external component [#d81b0bf](https://github.com/wix/react-native-navigation/commit/d81b0bf3cf929136218a71dbc74dcbf0cc668886) by [yogevbd](https://github.com/yogevbd) - Fix popGesture freezes the app [#37473f8](https://github.com/wix/react-native-navigation/commit/37473f88e9bfdc847f25cd21e5ca521e31157268) by [yogevbd](https://github.com/yogevbd) # 4.5.4 - Fix title.component fill parent [#7e6b2be](https://github.com/wix/react-native-navigation/commit/7e6b2be676382db74bd393940ddfdea3a3847e2c) by [yogevbd](https://github.com/yogevbd) # 4.5.2 - 4.5.3 ## Fixed ### Android - Fix NPE when updating tabs before tab views are created [#fccfb4d](https://github.com/wix/react-native-navigation/commit/fccfb4d8c289c10b6424e38690fa4469fa65b7ea) by [guyca](https://github.com/guyca) # 4.5.1 ## Fixed ### iOS - Fix crash when check UIBarButtonItem are not added by RNN [#233820e](https://github.com/wix/react-native-navigation/commit/233820ef372042d4fae463b0a63f75bfeab160da) by [wixiosalex](https://github.com/wixiosalex) # 4.5.0 ## Added - Improve accessibility support [#07c558c](https://github.com/wix/react-native-navigation/commit/07c558c76f7bf3acd56a2af4e0e901c81ae0e49d), [#f635b5e](https://github.com/wix/react-native-navigation/commit/f635b5e8be81ee99aaf2726c989624b1dafcbf41) by [yogevbd](https://github.com/yogevbd) and [guyca](https://github.com/guyca) ### iOS - Add modalAttemptedToDismiss event [#87af42a](https://github.com/wix/react-native-navigation/commit/87af42a56be7deaa32678afb72846c92e293f524) by [manicantic](https://github.com/manicantic) - Add bottomTabLongPressed event on iOS [#c425f83](https://github.com/wix/react-native-navigation/commit/c425f837b1d99a8b27525d52b6eba37fb77cbded) by [N3TC4T](https://github.com/N3TC4T) ## Fixed ### Android - Emit modalDismissed event before ViewController is destroyed [#cf591d9](https://github.com/wix/react-native-navigation/commit/cf591d9a9c48ed89c7e7fed4594b8dbcb9732bc9) by [guyca](https://github.com/guyca) # 4.4.0 ## Added ### Android - Added TitleState showWhenActiveForce option for bottomTabs [#cf18e2d](https://github.com/wix/react-native-navigation/commit/cf18e2d3c98785c28d42b486b70e05b75404ca54) by [BenJeau](https://github.com/BenJeau) ## Fixed ### Android - Apply BottomTabs visibility only if child is visible [#6ffb301](https://github.com/wix/react-native-navigation/commit/6ffb3011f7e3db11c9dac9d4c9d01b8345079c2e) by [guyca](https://github.com/guyca) ## Fixed # 4.3.0 ## Fixed ### iOS - Fixed pushing external ViewControllers to stack inside a modal [#4b14c87](https://github.com/wix/react-native-navigation/commit/4b14c8798b4f9bf99ce36dd29b2df8e8ff5bf109) by [yogevbd](https://github.com/yogevbd) # 4.2.0 ## Fixed ### Android - Support hiding back button with mergeOptions [#3f17dc4](https://github.com/wix/react-native-navigation/commit/3f17dc4a82657c6cfdbdd82c95cbba6f2bf63f55) by [guyca](https://github.com/guyca) # 4.1.0 ## Added - Send componentType field in componentDidAppear and componentDidDisappear events [#3878b68](https://github.com/wix/react-native-navigation/commit/3878b683ccc045f6c732850833be0633a8ac1b0e) by [guyca](https://github.com/guyca) and [yogevbd](https://github.com/yogevbd) ## Fixed - Add typing for children on TopTabs [#1f611c6](https://github.com/wix/react-native-navigation/commit/1f611c657ff946493aced56758399f7c240bf002) by [aalises](https://github.com/aalises) ### Android - Apply translucent StatusBAr flag only if needed [#6782362](https://github.com/wix/react-native-navigation/commit/6782362035228463701003cc7fbbbc0af27d88d0) by [guyca](https://github.com/guyca) ### iOS - Fix topBar.title.component measurement on iOS 10 [#82e4807](https://github.com/wix/react-native-navigation/commit/82e48079dc4ef24639b215af83d1344aa021c281) by [yogevbd](https://github.com/yogevbd) - Remove yellow boxes from title and button components [#b82d87f](https://github.com/wix/react-native-navigation/commit/b82d87f0c88d1dcd803af0f8507935a1d818bae3) by [yogevbd](https://github.com/yogevbd) # 4.0.9 ## Fixed ### iOS - Force translucent on iOS 12 when background is transparent [#2ad41f3](https://github.com/wix/react-native-navigation/commit/2ad41f3adb9883fa20f1d52fcbbc6fd0750976f9) by [yogevbd](https://github.com/yogevbd) # 4.0.8 ## Fixed ### iOS - Fix TopBar background color on iOS12 [#f202c7e](https://github.com/wix/react-native-navigation/commit/f202c7ec03bcc6cf9d2bc1c587064b78e111432a) by [yogevbd](https://github.com/yogevbd) # 4.0.7 ## Added - Add screenPopped event [#71af559](https://github.com/wix/react-native-navigation/commit/71af55968db11315cd10aac2e64cb1e24f37c0e0) by [yogevbd](https://github.com/yogevbd) and [guyca](https://github.com/guyca) ## Fixed ### Android - Fix incorrect bottom inset when hiding BottomTabs in default options [#d0c21e4](https://github.com/wix/react-native-navigation/commit/d0c21e4f6573189e634838a53c518f6bb8587080) by [guyca](https://github.com/guyca) ### iOS - Fix topBar transparent background on iOS 12 [#cd3d347](https://github.com/wix/react-native-navigation/commit/cd3d3472fcb8e5588507bc16c438d53c581d7d2b) by [yogevbd](https://github.com/yogevbd) # 4.0.6 ## Fixed - Fix native bottomTab.icon resource not working [#aa1870a](https://github.com/wix/react-native-navigation/commit/aa1870a743ff9e1611c643a5462ca84f81710fcd) by [guyca](https://github.com/guyca) ### iOS - Fix default font size regression [#8f9e719](https://github.com/wix/react-native-navigation/commit/8f9e719747ef9c0861122f5c5a75b0ec852574fc) by [yogevbd](https://github.com/yogevbd) - Fix crash when reloading while an overlay is displayed [#2fa17aa](https://github.com/wix/react-native-navigation/commit/2fa17aaaca56a1faef751e1d946eb3cc16ee7284) by [yogevbd](https://github.com/yogevbd) # 4.0.5 ## Fixed - Fix conflict with React Native's getConstants [#5e6d6fc](https://github.com/wix/react-native-navigation/commit/5e6d6fce132fc37722867c3e43a0036f4fe085b8) by [guyca](https://github.com/guyca) - Use lodash submodules instead of lodash to reduce bundle size [#e53a9fe](https://github.com/wix/react-native-navigation/commit/e53a9feb20e5851d29f0913fc6c2704dbe00af2e) by (pontusab)[https://github.com/pontusab] - Replace lodash chain with flow to reduce bundle size [#bf354d7](https://github.com/wix/react-native-navigation/commit/bf354d7c77c889c7e2dc0be0fc29b6a54011ce9b) by [jinshin1013](https://github.com/jinshin1013) ### iOS - Send ModalDismissed event [#4cb0e98](https://github.com/wix/react-native-navigation/commit/4cb0e98a6756317f8f61f5ee2b3d7530cd180f61) by [yogevbd](https://github.com/yogevbd) - Fix incorrect `constants.topBarHeight` value when pageSheet modal is displayed [#9ef61a9](https://github.com/wix/react-native-navigation/commit/9ef61a9a1357312208463ef149a7951931043d1e) by [yogevbd](https://github.com/yogevbd) - Add BottomTabs.attachMode support [#60c4dfc](https://github.com/wix/react-native-navigation/commit/60c4dfcd72245de02836bd4858f311822cdf866d) by [yogevbd](https://github.com/yogevbd) ### Android - Merge child options with SideMenu parent [#afbaa9a](https://github.com/wix/react-native-navigation/commit/afbaa9a4f53e05e6b00e1b8044a4a8a484ac3ea0) by [guyca](https://github.com/guyca) - Temporary fix to FAB position on screen [#4714983](https://github.com/wix/react-native-navigation/commit/47149835dcf707806bb211230e63a61d8cf9a1d5) by [guyca](https://github.com/guyca) # 4.0.4 ## Fixed ### iOS - Fix la