QuickBlox / q-municate-android

Qmunicate Android chat application
MIT License
254 stars 197 forks source link

signature is required #239

Closed iman2420 closed 7 years ago

iman2420 commented 7 years ago

I use this method to get user:

 QBUsers.getUserByLogin(login).performAsync(new QBEntityCallback<QBUser>() {

                @Override
                public void onSuccess(QBUser user, Bundle args) {
                    Log.i(TAG, ">>> User: " + user.toString());
                }

                @Override
                public void onError(QBResponseException errors) {
                }
            });

But o got this error in onError:

signature is required

please help me about this. QuickBlox SDK version is 3.3.5. I use Q-municate as base.

iman2420 commented 7 years ago

I finally made it up. I manipulated the lines that I turned back to and everything was fine.

  `   productFlavors {

    dev {
        buildConfigField "String", "APP_ID", devAppID
        buildConfigField "String", "AUTH_KEY", devAuthKey
        buildConfigField "String", "AUTH_SECRET", devAuthSecret
        buildConfigField "String", "ACCOUNT_KEY", devAccountKey
        buildConfigField "String", "TWITTER_KEY", devTwitterKey
        buildConfigField "String", "TWITTER_SECRET", devTwitterSecret
    }

    stage {

        buildConfigField "String", "APP_ID", stageAppID
        buildConfigField "String", "AUTH_KEY", stageAuthKey
        buildConfigField "String", "AUTH_SECRET", stageAuthSecret
        buildConfigField "String", "ACCOUNT_KEY", stageAccountKey
        buildConfigField "String", "TWITTER_KEY", stageTwitterKey
        buildConfigField "String", "TWITTER_SECRET", stageTwitterSecret
    }
}`