Skip to content

Commit

Permalink
React Native Bridge - Remove console warnings for unsupported methods…
Browse files Browse the repository at this point in the history
…, as their names are self-explanatory.
  • Loading branch information
Gerardo committed Dec 14, 2023
1 parent b961e12 commit ef48c7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/react-native-bridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,6 @@ export function sendEventToHost( eventName, properties ) {
*/
export function showAndroidSoftKeyboard() {
if ( isIOS ) {
/* eslint-disable-next-line no-console */
console.warn( 'showAndroidSoftKeyboard is not supported on iOS' );
return;
}

Expand All @@ -538,8 +536,6 @@ export function showAndroidSoftKeyboard() {
*/
export function hideAndroidSoftKeyboard() {
if ( isIOS ) {
/* eslint-disable-next-line no-console */
console.warn( 'hideAndroidSoftKeyboard is not supported on iOS' );
return;
}

Expand Down

0 comments on commit ef48c7f

Please sign in to comment.