Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Remove legacy package attributes from Android manifests with Gradle namespaces

Đang mở Phù hợp với người mới
#9,399 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
70/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, react-native
Lĩnh vực
build-system, mobile

Hướng nghiên cứu

Tìm các tệp AndroidManifest.xml trong các thư mục android của @react-native-firebase/app và @react-native-firebase/messaging. Xóa thuộc tính package khỏi gốc manifest, để lại namespace trong build.gradle. Hoàn thành khi cảnh báo namespace của AGP không còn xuất hiện trong một bản build Gradle.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

platform: android type: enhancement

Summary

With Android Gradle Plugin 8.11, the Android manifests in both @react-native-firebase/app and @react-native-firebase/messaging still declare the old package attribute even though their android/build.gradle files already define namespace.

The manifest processing warning is:

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

The same attributes are present in the currently installed 26.4.0 packages and in the latest 27.1.0 package archives. Updating the dependency version therefore does not remove the warning.

Environment

  • Expo SDK 54 / React Native 0.81.5
  • AGP 8.11.0 / Gradle 8.14.3

Could the redundant package attributes be removed from the source manifests now that Gradle namespace is declared, or otherwise be handled without consumer-side suppression?

Ngôn ngữ chính
TypeScript
Star
12.3k
Fork
2.3k
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
23

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của invertase/react-native-firebase

Tất cả issue của invertase/react-native-firebase

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.