dooboolab-community / dooboo-native-ts

Complete boilerplate for react-native app. Contains, typescript, react-hook, context-api, ts-jest, localization, navigation and etc.
https://medium.com/dooboolab/announcing-dooboo-cli-v3-5c9fceeb2ac4
MIT License
81 stars 27 forks source link

Update react-native-safe-area-context to the latest version πŸš€ #153

Closed greenkeeper[bot] closed 4 years ago

greenkeeper[bot] commented 4 years ago

🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


The dependency react-native-safe-area-context was updated from 0.7.3 to 1.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: janicduplessis License: MIT

Release Notes for 1.0.0

Breaking

  • Insets on android are now relative to the Provider view instead of the activity content view. This is consistent with iOS.
  • SafeAreaContext was renamed to SafeAreaInsetsContext.

Deprecations

  • useSafeArea is deprecated, use useSafeAreaInsets instead.
  • SafeAreaConsumer is deprecated, use SafeAreaInsetsContext.Consumer instead.
  • initialWindowSafeAreaInsets is deprecated, use initialWindowMetrics instead.
  • SafeAreaProvider prop initialWindowSafeAreaInsets is deprecated, use initialMetrics instead.

New

  • useSafeAreaFrame hook and SafeAreaFrameContext to access the frame of the nearest SafeAreaProvider.
  • withSafeAreaInsets HOC

Fixed

  • Insets should be more accurate on devices using API < 20
Commits

The new version differs by 21 commits.

  • 1b8c4d1 1.0.0
  • 8627e74 1.0.0-beta.3
  • 7edb171 Fix prettier
  • 79ab4dd Add withSafeAreaConsumer HOC (#57)
  • 05bdb89 Make example app easier to run
  • 2e542e7 refactor(podfile): remove unnecessary use_native_modules! (#70)
  • 24018ff 1.0.0-beta.2
  • 9c2ab9c Fix tests
  • 12da572 Use getWindowVisibleDisplayFrame to calculate edge insets on api < 20
  • dad9cc4 Better backwards compat
  • 3a25f16 Properly disable flipper in iOS example ap
  • 7620e80 1.0.0-beta.1
  • 98ddd6c Fix crash in SafeAreaUtils.getFrame when view parent is null
  • 960e7e5 Disable flipper in ios example app
  • fdb7c0a Bring back SafeAreaConsumer with deprecation warning

There are 21 commits in total.

See the full diff


FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

codecov[bot] commented 4 years ago

Codecov Report

Merging #153 into master will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #153   +/-   ##
=======================================
  Coverage   98.61%   98.61%           
=======================================
  Files          12       12           
  Lines         144      144           
  Branches       12       12           
=======================================
  Hits          142      142           
  Misses          1        1           
  Partials        1        1           
greenkeeper[bot] commented 4 years ago

🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


Update to this version instead πŸš€

Commits

The new version differs by 10 commits.

See the full diff

greenkeeper[bot] commented 4 years ago

🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


Update to this version instead πŸš€