Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

@ShaMan123
Copy link
Owner

for RN0.61
please view the PR and merge it.

Frank Jensen and others added 11 commits July 29, 2019 21:26
## Purpose

Remove the forced 70% opacity overlay to allow more flexibility - for instance if you want 90% instead.

## Use

When declaring overlay background, you could feed it `rgba(255, 255, 255, 0.9)` to achieve a white overlay that is only slightly transparent.
Adds UNSAFE_ prefix for deprecated lifecycle hooks. (For more information about this codemod, see [React RFC #6](reactjs/rfcs#6))
This PR makes Gesture Handler compatible with AndroidX, by using Nullable annotation and Pools from AndroidX. But also removes **buildToolsVersion** as it's no longer required by Android Gradle Plugin since version 3.1.0, see https://developer.android.com/studio/releases/gradle-plugin#3-1-0, and bumped compileSdkVersion, targetSdkVersion to 28.

Upgraded **Example** app, and had to bump Android Gradle Version, thus Gradle wrapper version. Also had to run **jetify** because some dependencies are not AndroidX ready.
`Component.displayName` can be undefined for release builds which means a bunch of components will fight for the undefined key. In my app it results in the `Switch` component rendering nothing (or probably just another component like `ScrollView`). I also added a null check since some components are being removed from RN core like ToolbarAndroid so it makes `memoizeWrap` safe in those cases.
…e can use this view inside an xml layout file (#755)
@ShaMan123 ShaMan123 merged commit f86269a into ShaMan123:master Oct 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants