close

[Solved] WARN [react-native-gesture-handler] Seems like you’re using an old API with gesture components

Hello Guys, How are you all? Hope You all Are Fine. Today I am facing following error while starting my yarn: WARN [react-native-gesture-handler] Seems like you’re using an old API with gesture components, check out new Gestures system! in React-Native. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How This Error Occurs ?

I am facing following error while starting my yarn.

WARN [react-native-gesture-handler] Seems like you’re using an old API with gesture components, check out new Gestures system!

How To Solve WARN [react-native-gesture-handler] Seems like you’re using an old API with gesture components Error ?

  1. How To Solve WARN [react-native-gesture-handler] Seems like you're using an old API with gesture components Error ?

    To Solve WARN [react-native-gesture-handler] Seems like you're using an old API with gesture components Error Here react-native-gesture-handler is showing this warning You can Just Ignore Or disable the warning logs. Open Your app.js OR app.tsx and add this line: LogBox.ignoreLogs([ “[react-native-gesture-handler] Seems like you\'re using an old API with gesture components, check out new Gestures system!”, ]); Now, You will no longer see above warning.

  2. WARN [react-native-gesture-handler] Seems like you're using an old API with gesture components, check out new Gestures system!

    To Solve WARN [react-native-gesture-handler] Seems like you're using an old API with gesture components Error Here react-native-gesture-handler is showing this warning You can Just Ignore Or disable the warning logs. Open Your app.js OR app.tsx and add this line: LogBox.ignoreLogs([ “[react-native-gesture-handler] Seems like you\'re using an old API with gesture components, check out new Gestures system!”, ]); Now, You will no longer see above warning.

Solution 1

Here react-native-gesture-handler is showing this warning You can Just Ignore Or disable the warning logs. Open Your app.js OR app.tsx and add this line.

import { LogBox } from 'react-native';

LogBox.ignoreLogs([
  "[react-native-gesture-handler] Seems like you\'re using an old API with gesture components, check out new Gestures system!",
]);

Now, You will no longer see above warning.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Leave a Comment