diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt index f7c5264dda74c0..5ed46a27c104e8 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<> */ /** @@ -323,7 +323,7 @@ public object ReactNativeFeatureFlags { * This is **dangerous** because it can introduce consistency issues that will * be much harder to debug. For example, it could hide the fact that feature * flags are read before you set the values you want to use everywhere. It - * could also cause a workflow to suddently have different feature flags for + * could also cause a workflow to suddenly have different feature flags for * behaviors that were configured with different values before. * * It returns a string that contains the feature flags that were accessed diff --git a/packages/react-native/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp b/packages/react-native/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp index c720ea8b1bc674..521e95fb59e638 100644 --- a/packages/react-native/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +++ b/packages/react-native/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<9dedcd0160e4271cd3bf373a2c044cb4>> */ /** @@ -32,10 +32,10 @@ static jni::alias_ref getReactNativeFeatureFlagsProviderJavaClass() * Implementation of ReactNativeFeatureFlagsProvider that wraps a * ReactNativeFeatureFlagsProvider Java object. */ -class ReactNativeFeatureFlagsProviderHolder +class ReactNativeFeatureFlagsJavaProvider : public ReactNativeFeatureFlagsProvider { public: - explicit ReactNativeFeatureFlagsProviderHolder( + explicit ReactNativeFeatureFlagsJavaProvider( jni::alias_ref javaProvider) : javaProvider_(make_global(javaProvider)){}; @@ -509,7 +509,7 @@ void JReactNativeFeatureFlagsCxxInterop::override( facebook::jni::alias_ref /*unused*/, jni::alias_ref provider) { ReactNativeFeatureFlags::override( - std::make_unique(provider)); + std::make_unique(provider)); } void JReactNativeFeatureFlagsCxxInterop::dangerouslyReset( @@ -521,7 +521,7 @@ jni::local_ref JReactNativeFeatureFlagsCxxInterop::dangerouslyForceOver facebook::jni::alias_ref /*unused*/, jni::alias_ref provider) { auto accessedFlags = ReactNativeFeatureFlags::dangerouslyForceOverride( - std::make_unique(provider)); + std::make_unique(provider)); if (accessedFlags.has_value()) { return jni::make_jstring(accessedFlags.value()); } diff --git a/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h b/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h index e6536c2895ef41..91d6335c4635a2 100644 --- a/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +++ b/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<29cdbefbe02064df4fb65388e64f95a4>> + * @generated SignedSource<> */ /** @@ -291,7 +291,7 @@ class ReactNativeFeatureFlags { * This is **dangerous** because it can introduce consistency issues that will * be much harder to debug. For example, it could hide the fact that feature * flags are read before you set the values you want to use everywhere. It - * could also cause a workflow to suddently have different feature flags for + * could also cause a workflow to suddenly have different feature flags for * behaviors that were configured with different values before. * * Please see the documentation of `dangerouslyReset` for additional details. diff --git a/packages/react-native/scripts/featureflags/templates/android/JReactNativeFeatureFlagsCxxInterop.cpp-template.js b/packages/react-native/scripts/featureflags/templates/android/JReactNativeFeatureFlagsCxxInterop.cpp-template.js index 8256b7c35b4eca..3f45beb9fd82a3 100644 --- a/packages/react-native/scripts/featureflags/templates/android/JReactNativeFeatureFlagsCxxInterop.cpp-template.js +++ b/packages/react-native/scripts/featureflags/templates/android/JReactNativeFeatureFlagsCxxInterop.cpp-template.js @@ -40,10 +40,10 @@ static jni::alias_ref getReactNativeFeatureFlagsProviderJavaClass() * Implementation of ReactNativeFeatureFlagsProvider that wraps a * ReactNativeFeatureFlagsProvider Java object. */ -class ReactNativeFeatureFlagsProviderHolder +class ReactNativeFeatureFlagsJavaProvider : public ReactNativeFeatureFlagsProvider { public: - explicit ReactNativeFeatureFlagsProviderHolder( + explicit ReactNativeFeatureFlagsJavaProvider( jni::alias_ref javaProvider) : javaProvider_(make_global(javaProvider)){}; @@ -80,7 +80,7 @@ void JReactNativeFeatureFlagsCxxInterop::override( facebook::jni::alias_ref /*unused*/, jni::alias_ref provider) { ReactNativeFeatureFlags::override( - std::make_unique(provider)); + std::make_unique(provider)); } void JReactNativeFeatureFlagsCxxInterop::dangerouslyReset( @@ -92,7 +92,7 @@ jni::local_ref JReactNativeFeatureFlagsCxxInterop::dangerouslyForceOver facebook::jni::alias_ref /*unused*/, jni::alias_ref provider) { auto accessedFlags = ReactNativeFeatureFlags::dangerouslyForceOverride( - std::make_unique(provider)); + std::make_unique(provider)); if (accessedFlags.has_value()) { return jni::make_jstring(accessedFlags.value()); } diff --git a/packages/react-native/scripts/featureflags/templates/android/ReactNativeFeatureFlags.kt-template.js b/packages/react-native/scripts/featureflags/templates/android/ReactNativeFeatureFlags.kt-template.js index 68b21fa53b0cea..5e4c107bc56a13 100644 --- a/packages/react-native/scripts/featureflags/templates/android/ReactNativeFeatureFlags.kt-template.js +++ b/packages/react-native/scripts/featureflags/templates/android/ReactNativeFeatureFlags.kt-template.js @@ -100,7 +100,7 @@ ${Object.entries(definitions.common) * This is **dangerous** because it can introduce consistency issues that will * be much harder to debug. For example, it could hide the fact that feature * flags are read before you set the values you want to use everywhere. It - * could also cause a workflow to suddently have different feature flags for + * could also cause a workflow to suddenly have different feature flags for * behaviors that were configured with different values before. * * It returns a string that contains the feature flags that were accessed diff --git a/packages/react-native/scripts/featureflags/templates/common-cxx/ReactNativeFeatureFlags.h-template.js b/packages/react-native/scripts/featureflags/templates/common-cxx/ReactNativeFeatureFlags.h-template.js index d6a59223341c17..9fa9639abffdb3 100644 --- a/packages/react-native/scripts/featureflags/templates/common-cxx/ReactNativeFeatureFlags.h-template.js +++ b/packages/react-native/scripts/featureflags/templates/common-cxx/ReactNativeFeatureFlags.h-template.js @@ -99,7 +99,7 @@ ${Object.entries(definitions.common) * This is **dangerous** because it can introduce consistency issues that will * be much harder to debug. For example, it could hide the fact that feature * flags are read before you set the values you want to use everywhere. It - * could also cause a workflow to suddently have different feature flags for + * could also cause a workflow to suddenly have different feature flags for * behaviors that were configured with different values before. * * Please see the documentation of \`dangerouslyReset\` for additional details.