Closed ahndrew closed 6 years ago
@ahndrew Check your MainApplication.java
. Add the lines below in the snippet after the line import io.smooch.core.Smooch;
.
import io.smooch.core.Settings;
import io.smooch.core.SmoochCallback;
It's on the smooch-android
docs, but isn't on the docs for react-native-smooch
.
PR for this https://github.com/smooch/react-native-smooch/pull/52
Fixed in newest version
Get the following error with the latest react-native-smooch v1.0.0
Looks like SmoochCallback is not a valid argument type for the react bridge for the login/logout methods