SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Properly handle paths with spaces in autolinking (#47388)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47388

Fixes https://github.com/facebook/react-native/issues/47364
Fixes https://github.com/facebook/react-native/issues/47377
Fixes https://github.com/facebook/react-native/issues/37124

We're having problems is a path contains a space ' ' because when autolinking,
the `add_subdirectory()` function of CMake consider the path with space as 2 parameters.

This fixes it by properly quoting the path.

Changelog:
[Android] [Fixed] - Properly handle paths with spaces in autolinking

Reviewed By: cipolleschi

Differential Revision: D65434413

fbshipit-source-id: b9147482f98f7e222405cc8d9e6f3c17a5f4ed02
N
Nicola Corti committed
1f62529dc4583af88ef06bee04c89ce6c2ef737f
Parent: 3956955
Committed by Facebook GitHub Bot <[email protected]> on 11/5/2024, 11:32:16 AM