Open WhidRubeld opened 18 hours ago
You'll need to either alter the config plugin here for messaging or there for expo-notifications to do as it says: add the tools XML namespace to the AndroidManifest file (if not there already) and mark that property as tools:replace
The Expo plugins here are community maintained by interested Expo users, none of the maintainers use Expo so we rely on Expo users to keep them working. Bearing that in mind we'll need a PR from someone that uses it so they test it well and know it works. We can merge and release easily if someone proposes a PR
Issue
Expo-managed Android project build error using EAS. The error is due to a conflict with the
expo-notifications
library when setting a manifest parameter.Old problem https://github.com/invertase/react-native-firebase/issues/7841
Project Files
Javascript
Click To Expand
#### `package.json`: ```json { ... "dependencies": { ... "@react-native-firebase/analytics": "^21.0.0", "@react-native-firebase/app": "^21.0.0", "@react-native-firebase/crashlytics": "^21.0.0", "@react-native-firebase/in-app-messaging": "^21.0.0", "@react-native-firebase/installations": "^21.0.0", "@react-native-firebase/messaging": "^21.0.0", ... "expo": "~52.0.7", ... "expo-notifications": "~0.29.8", ... "react-native": "0.76.3", ... }, ... } ``` #### `firebase.json` for react-native-firebase v6: ```json { "react-native": {} } ```Environment
Click To Expand
**`react-native info` output:** ``` System: OS: macOS 15.0.1 CPU: (11) arm64 Apple M3 Pro Memory: 87.75 MB / 18.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.9.0 path: ~/.nvm/versions/node/v20.9.0/bin/node Yarn: version: 1.22.22 path: ~/.nvm/versions/node/v20.9.0/bin/yarn npm: version: 10.1.0 path: ~/.nvm/versions/node/v20.9.0/bin/npm Watchman: version: 2022.07.04.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.11.3 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 24.1 - iOS 18.1 - macOS 15.1 - tvOS 18.1 - visionOS 2.1 - watchOS 11.1 Android SDK: Not Found IDEs: Android Studio: 2024.2 AI-242.23339.11.2421.12483815 Xcode: version: 16.1/16B40 path: /usr/bin/xcodebuild Languages: Java: version: 11.0.17 path: /usr/bin/javac Ruby: version: 2.6.10 path: /usr/bin/ruby npmPackages: "@react-native-community/cli": installed: 15.1.2 wanted: ^15.1.2 react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.76.3 wanted: 0.76.3 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: Not found newArchEnabled: Not found iOS: hermesEnabled: Not found newArchEnabled: Not found ``` - **Platform that you're experiencing the issue on**: - [ ] iOS - [x] Android - [ ] **iOS** but have not tested behavior on Android - [ ] **Android** but have not tested behavior on iOS - [ ] Both - **`react-native-firebase` version you're using that has this issue:** - `@react-native-firebase/app": "^21.0.0"` - **`Firebase` module(s) you're using that has the issue:** - `"@react-native-firebase/messaging": "^21.0.0"` - **Are you using `TypeScript`?** - `"typescript": "~5.3.3"`
React Native Firebase
andInvertase
on Twitter for updates on the library.