@react-native-community/cli-platform-android
Advanced tools
Comparing version 13.5.1-alpha.0 to 13.5.1
@@ -41,3 +41,3 @@ "use strict"; | ||
const applicationIdWithSuffix = [appId || applicationId, appIdSuffix].filter(Boolean).join('.'); | ||
const activityToLaunch = mainActivity.includes('.') ? [packageName, mainActivity].join('') : [packageName, mainActivity].filter(Boolean).join('.'); | ||
const activityToLaunch = mainActivity.startsWith(packageName) ? mainActivity : mainActivity.startsWith('.') ? [packageName, mainActivity].join('') : [packageName, mainActivity].filter(Boolean).join('.'); | ||
try { | ||
@@ -44,0 +44,0 @@ // Here we're using the same flags as Android Studio to launch the app |
@@ -68,2 +68,7 @@ "use strict"; | ||
const mainActivity = (0, _getMainActivity.default)(manifestPath || '') ?? ''; | ||
// @todo remove for RN 0.75 | ||
if (userConfig.unstable_reactLegacyComponentNames) { | ||
_cliTools().logger.warn('The "project.android.unstable_reactLegacyComponentNames" config option is not necessary anymore for React Native 0.74 and does nothing. Please remove it from the "react-native.config.js" file.'); | ||
} | ||
return { | ||
@@ -77,3 +82,4 @@ sourceDir, | ||
watchModeCommandParams: userConfig.watchModeCommandParams, | ||
unstable_reactLegacyComponentNames: userConfig.unstable_reactLegacyComponentNames | ||
// @todo remove for RN 0.75 | ||
unstable_reactLegacyComponentNames: undefined | ||
}; | ||
@@ -80,0 +86,0 @@ } |
{ | ||
"name": "@react-native-community/cli-platform-android", | ||
"version": "13.5.1-alpha.0", | ||
"version": "13.5.1", | ||
"license": "MIT", | ||
@@ -10,3 +10,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-tools": "13.5.1-alpha.0", | ||
"@react-native-community/cli-tools": "13.5.1", | ||
"chalk": "^4.1.2", | ||
@@ -25,3 +25,3 @@ "execa": "^5.0.0", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "13.5.1-alpha.0", | ||
"@react-native-community/cli-types": "13.5.1", | ||
"@types/fs-extra": "^8.1.0", | ||
@@ -36,3 +36,3 @@ "@types/glob": "^7.1.1" | ||
}, | ||
"gitHead": "f50cc16bce038808680f55c10d659b94215f1a71" | ||
"gitHead": "f9d8a74b76995ad92d5a0fa78f09a0b8dc44fbfe" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
228763
2409
0
+ Added@react-native-community/cli-tools@13.5.1(transitive)
- Removed@react-native-community/cli-tools@13.5.1-alpha.0(transitive)