Skip to content

Commit

Permalink
[docs] improve installation instructions and links (expo#7830)
Browse files Browse the repository at this point in the history
* make installSection wording better

* [docs] improve installation instructions and links
  • Loading branch information
cruzach committed Apr 14, 2020
1 parent 47833fb commit 5f68230
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -9,7 +9,7 @@ A React component that renders a preview for the device's either front or back c

# Installation in managed Expo projects

For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/camera/).

# Installation in bare React Native projects

Expand Down Expand Up @@ -41,12 +41,13 @@ Add `android.permission.CAMERA` permission to your manifest (`android/app/src/ma
```

Adjust the `android/build.gradle` to add a new `maven` block after all other repositories as described below:

```gradle
allprojects {
repositories {
// * Your other repositories here *
// * Add a new maven block after other repositories / blocks *
maven {
// expo-camera bundles a custom com.google.android:cameraview
Expand Down

0 comments on commit 5f68230

Please sign in to comment.