Skip to content

Commit

Permalink
docs(in-app-messaging, android): note android gradle plugin 3.5.4 is …
Browse files Browse the repository at this point in the history
…minimum

3.5.3, which comes default with react-native@0.63.x still, has AAPT failures
  • Loading branch information
mikehardy committed Feb 5, 2021
1 parent 1451073 commit 077ca0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .spellcheck.dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Firestore
GDPR
globals
Gradle
gradle
Hesp
Homebrew
HTTP
Expand Down
2 changes: 2 additions & 0 deletions docs/in-app-messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ yarn add @react-native-firebase/in-app-messaging
cd ios/ && pod install
```

Note: in-app-messaging requires a minimum android gradle plugin version of 3.5.4 to compile or you will see `AAPT` errors regarding unexpected XML with `<queries>` elements. However, `react-native@0.63.4` still ships with a default of 3.5.3. If you have not already, you must update the line `classpath("com.android.tools.build:gradle:3.5.3")`in `android/build.gradle` to a minimum of `3.5.4` for android builds to work.

If you're using an older version of React Native without autolinking support, or wish to integrate into an existing project,
you can follow the manual installation steps for [iOS](/in-app-messaging/usage/installation/ios) and [Android](/in-app-messaging/usage/installation/android).

Expand Down

1 comment on commit 077ca0f

@vercel
Copy link

@vercel vercel bot commented on 077ca0f Feb 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.