From 800ea60393cc810ef4b36ed102694deda04162c9 Mon Sep 17 00:00:00 2001 From: Christoph Purrer Date: Tue, 25 Jul 2023 14:40:04 -0700 Subject: [PATCH] Remove need for each platform to implement ToastAndroid as UnimplementedView (#38606) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38606 Today, any host platform implementation of React Native must add ToastAndroid.platform.js. - https://github.com/microsoft/react-native-macos/blob/main/Libraries/Components/ToastAndroid/ToastAndroid.macos.js - https://github.com/microsoft/react-native-windows/blob/0.71-stable/vnext/src/Libraries/Components/ToastAndroid/ToastAndroid.windows.js Now they don't have to do it anymore. Changelog: [General] [Fixed] - ToastAndroid] Remove need for each platform to implement ToastAndroid as UnimplementedView Reviewed By: rozele Differential Revision: D47744187 fbshipit-source-id: 510aa7aa00a768ba5a37f3d40246f7ef620e0b58 --- .../ToastAndroid/{ToastAndroid.ios.js => ToastAndroid.js} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/react-native/Libraries/Components/ToastAndroid/{ToastAndroid.ios.js => ToastAndroid.js} (100%) diff --git a/packages/react-native/Libraries/Components/ToastAndroid/ToastAndroid.ios.js b/packages/react-native/Libraries/Components/ToastAndroid/ToastAndroid.js similarity index 100% rename from packages/react-native/Libraries/Components/ToastAndroid/ToastAndroid.ios.js rename to packages/react-native/Libraries/Components/ToastAndroid/ToastAndroid.js