From fcabb2ad21b2c17f4e0d40b0637c22ba84568038 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 26 Feb 2024 11:34:05 -0800 Subject: [PATCH] Rename PopupMenuAndroidNativeComponent.js to PopupMenuAndroidNativeComponent.android.js to fix CI Summary: This change renames `PopupMenuAndroidNativeComponent.js` to `PopupMenuAndroidNativeComponent.android.js`. The reason is that, without the suffix, Codegen was reading the NativeComponent spec also for iOS, generating some invalid specs and making RNTester fail. ## Changelog: [Android][Changed] - Rename `PopupMenuAndroidNativeComponent.js` to `PopupMenuAndroidNativeComponent.android.js` Reviewed By: cortinico, dmytrorykun Differential Revision: D54199736 fbshipit-source-id: 7fd67c4d38a69fe3a84c800c8ee5dcbd8c4f9a6c --- .../js/PopupMenuAndroid.android.js | 2 +- ...eComponent.js => PopupMenuAndroidNativeComponent.android.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename packages/react-native-popup-menu-android/js/{PopupMenuAndroidNativeComponent.js => PopupMenuAndroidNativeComponent.android.js} (100%) diff --git a/packages/react-native-popup-menu-android/js/PopupMenuAndroid.android.js b/packages/react-native-popup-menu-android/js/PopupMenuAndroid.android.js index b7ab6e0bf2b933..b97d45cb5a476d 100644 --- a/packages/react-native-popup-menu-android/js/PopupMenuAndroid.android.js +++ b/packages/react-native-popup-menu-android/js/PopupMenuAndroid.android.js @@ -14,7 +14,7 @@ import type {SyntheticEvent} from 'react-native/Libraries/Types/CoreEventTypes'; import PopupMenuAndroidNativeComponent, { Commands, -} from './PopupMenuAndroidNativeComponent'; +} from './PopupMenuAndroidNativeComponent.android'; import nullthrows from 'nullthrows'; import * as React from 'react'; import {useCallback, useImperativeHandle, useRef} from 'react'; diff --git a/packages/react-native-popup-menu-android/js/PopupMenuAndroidNativeComponent.js b/packages/react-native-popup-menu-android/js/PopupMenuAndroidNativeComponent.android.js similarity index 100% rename from packages/react-native-popup-menu-android/js/PopupMenuAndroidNativeComponent.js rename to packages/react-native-popup-menu-android/js/PopupMenuAndroidNativeComponent.android.js