Digits.getInstance()
与えるNullPointerException
java.lang.NullPointerException: Attempt to invoke virtual method 'com.digits.sdk.android.DigitsClient com.digits.sdk.android.Digits.getDigitsClient()' on a null object reference
私は数字を次のように実装しました-
Fabric.with(this, new TwitterCore(authConfig), new Digits());
mAuthCallback = new AuthCallback() {
@Override
public void success(DigitsSession session, String phoneNumber) {
// Do something with the session
}
@Override
public void failure(DigitsException exception) {
// Do something on failure
}
};