| #
3216ce43 |
| 24-Jun-2023 |
Kudo Chien <[email protected]> |
[config-plugins][prebuild-config] remove deprecated package in AndroidManifext.xml (#23056)
# Why
seeing a gradle build warning from a sdk49 project after prebuild:
```
> Task :app:processDeb
[config-plugins][prebuild-config] remove deprecated package in AndroidManifext.xml (#23056)
# Why
seeing a gradle build warning from a sdk49 project after prebuild:
```
> Task :app:processDebugMainManifest
package="com.sdk49" found in source AndroidManifest.xml: /Users/kudo/sdk49/android/app/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
/Users/kudo/sdk49/android/app/src/debug/AndroidManifest.xml:21:9-30:20 Warning:
provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:21 to replace other declarations but no other declaration present
```
# How
we have the filled the application id to **build.gradle** `namespace` in the `withPackageGradle` plugin already. this pr just removes the deprecated `withPackageManifest` plugin.
# Test Plan
- ci passed
show more ...
|