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 d4ef115 commit 318fcff
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 318fcff

Please sign in to comment.