react-native-macos/template
Nicola Corti cec9a34f6c Sets the namespace via Gradle and not via AndroidManifest (#35094)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/35094

Currently the build on console is firing this warning:
```
> Task :app:processDebugMainManifest
package="com.androidtemplateproject" found in source AndroidManifest.xml: /tmp/AndroidTemplateProject/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.
```

This diff fixes it so users won't see it anymore on 0.71

Changelog:
[Android] [Fixed] - Sets the namespace via Gradle and not via AndroidManifest

Reviewed By: cipolleschi

Differential Revision: D40724654

fbshipit-source-id: 9b01748a22e9993b60e17bf25acbc68ba8e4eb77
2022-10-29 06:35:38 -07:00
..
__tests__ Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00
_bundle Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
android Sets the namespace via Gradle and not via AndroidManifest (#35094) 2022-10-29 06:35:38 -07:00
ios fix(template, ios): add marketing version to template project (#35012) 2022-10-18 10:32:59 -07:00
App.js Revert styles order change in sample app 2022-10-21 15:02:47 -07:00
Gemfile Bump Circle CI macOS container to Xcode 14.0.1, Ruby to 2.7.6, CocoaPods 1.11.3 (#34884) 2022-10-11 18:27:25 -07:00
_buckconfig Move react-native template 2018-12-07 07:49:19 -08:00
_eslintrc.js Add .eslintrc to RN project template (#23901) 2019-03-21 07:14:23 -07:00
_flowconfig Upgrade to Flow 0.191.0 2022-10-28 08:11:57 -07:00
_gitignore Add .metro-health-check to .gitignore 2022-10-14 06:51:52 -07:00
_node-version Added files for node version in reactive native project (#34171) 2022-07-11 06:20:58 -07:00
_prettierrc.js JS: Upgrade to Prettier v2.4.1 [1/n] 2021-11-02 22:14:16 -07:00
_ruby-version Bump Circle CI macOS container to Xcode 14.0.1, Ruby to 2.7.6, CocoaPods 1.11.3 (#34884) 2022-10-11 18:27:25 -07:00
_watchmanconfig Move react-native template 2018-12-07 07:49:19 -08:00
app.json Move react-native template 2018-12-07 07:49:19 -08:00
babel.config.js Revert the change to add babel-plugin-codegen 2021-12-15 16:53:01 -08:00
index.js Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00
metro.config.js Change default metro.config.js to utilize inline requires (#29770) 2020-08-26 11:30:59 -07:00
package.json chore(cli, metro): bump cli and metro to latest ahead of 71 (#35107) 2022-10-27 14:09:03 -07:00