-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: [IOAPPFD0-132] Enable react-native-screens
in the DS section
#4857
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dmnplb
added
Help Wanted 🚨
dependencies
dont-merge ✋
Design System
New visual language and reduction of previous UI clutter
labels
Jul 31, 2023
pagopa-github-bot
changed the title
[IOAPPFD0-132] Enable
chore: [IOAPPFD0-132] Enable Jul 31, 2023
react-native-screens
in the DS sectionreact-native-screens
in the DS section
Affected stories
|
We realized that the above mentioned problems are caused by the Therefore, the native navigation will be postponed until we update the |
CrisTofani
pushed a commit
to pagopa/io-app-design-system
that referenced
this pull request
Aug 4, 2023
## Short description This PR enables the native navigation in the example app. If you want to discover more about the change and its implications, read the description of the [PR #4857](pagopa/io-app#4857) ([io-app](https://github.com/pagopa/io-app)) for reference. ## List of changes proposed in this pull request - **[Example app]** Update `react-navigation` and related packages to `6.x` version - **[Main package]** Update `reanimated` and `react-native-safe-area-context` to the last version - Replace `StackNavigator` with the `NativeStackNavigator` - Add native fullscreen modal (it seems different from the one available in the `5.x`) - Add native iOS search screen with custom color palette - Add dark mode support to the example app - Fix `AnimatedTick` rendering error after upgrade of `react-native-svg` ## How to test Go to the `example` directory and run the app
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Design System
New visual language and reduction of previous UI clutter
dont-merge ✋
Help Wanted 🚨
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Short description
This PR enables a native stack navigation in the Design System section, using the
react-native-screens
package from Software Mansion (Official Github repo). The native stack navigation could bring some benefits:List of changes proposed in this pull request
createStackNavigator
withcreateNativeStackNavigator
enableScreens()
method to enable the native stack navigationInfo.plist
andAppDelegate.mm
files, according to the official docsHelp wanted
NativeStackNavigator
:YES
, you get another error triggered at first screen of the app:statusBarAnimation
tonone
doesn't help. Neither does deleting everyStatusBar
component imported fromreact-native
(for debug purposes).Additional resources
How to test
pod install
andyarn run-ios
StatusBarAppearance
set totrue
false
and repeat the steps above