Flash Message under the notch on iPhone X and higher versions
See original GitHub issueMy setup includes:
- react-native: 0.63.2
- react: 16.13.1
- Flash Message: 0.1.23
Flash Message instance added at the root
showMessage
code:
Result:
@lucasferreira Please help here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Red lights flashing on iPhone X notch - Apple Community
Before bed (in the dark), whenever I try to unlock my iPhone using Face ID I see red lights flashing on the iPhone...
Read more >Change notification settings on iPhone - Apple Support (IN)
Go to Settings > Notifications. Choose how you want notifications displayed on the Lock Screen:
Read more >Flash the LED for alerts on iPhone - Apple Support (IE)
The LED flashes only if iPhone is locked. Tip: LED Flash for Alerts is a useful feature for anyone who might miss audible...
Read more >Adjust how iPhone responds to your touch - Apple Support (IN)
If you have difficulty performing tap, swipe, and touch-and-hold gestures, you can change how the iPhone touchscreen responds.
Read more >Reach the top of the iPhone screen with one hand
When you use iPhone with one hand in Portrait orientation, you can use Reachability to ... To return to the full screen, tap...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
react-native-safe-area-context is the current industry standard solution to manage this issue. As per the other issue you have, I’d suggest making a major version release to introduce this lib
UPDATE: actually now that I think about it, I’d isolate the two issues and completely remove all the props in flash-message related to the safearea concept and just write an installation/quickstart/integration guide both on the website and in the readme that showcase the usage of react-native-safe-context to manually apply the padding and spacing values to the flash-message
I think this is the correct way to go in order to simplify the code, avoid breaking changes and avoid doing magic in the background. For example if this lib includes safearea, the developer will need to instantiate the safeareaprovider by itself which is not ideal
@lucasferreira this library is supported by expo https://docs.expo.dev/versions/latest/sdk/safe-area-context/