Skip to content

Files

Latest commit

 

History

History
17 lines (10 loc) · 629 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 629 Bytes

rn-bottomsheet

This repo contains a minimal repro for hosting react native in a bottom sheet dialog within an existing android app. The branches in this repo corresponds to a major RN version (e.g. 0.68, 0.70, 0.71 and 0.72).

To test a branch (e.g 0.70), perform the following after launching an android emulator:

git switch 0.70
yarn install
npx react-native run-android

In the android app, press the "Show Dialog" button and observe the size of the bottom sheet dialog that shows.

To test a release build with a release bundle (no dev server), run:

npx react-native run-android --mode release

instead.