'The SDK has not been intialized. Got this error while running react native android application in debug mode

I am using react-native-fbsdk-next(version 4.6.0) in my react native project. I followed the docs accordingly but then it started giving me following error since yesterday.

enter image description here

I checked the other answers which suggest adding the string in the manifest file but that has already been added.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source