如何配置Android多模块APP以使用IBM Mobile Foundation Platform 8.0的应用程序真实性

问题描述 投票:0回答:2

我们有一个Android应用程序可以与IBM Mobile Foudation Platform 8.0'AppAuthenticity一起使用。所以我们不得不将应用程序分成多个android模块,而AppAuthenticity从那时起就无法运行。尝试启用AppAuthenticity时尝试登录时没有响应,即永远不会触发成功或错误回调。

https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/authentication-and-security/application-authenticity/

IBM MFP服务器版本:8.0.2019022810。 IBM MFP Android SDK版本:8.0。+ Gradle构建工具:3.1.1 Gradle 4.4 调试和发布apks会出现问题。

Log.d("TAG", "loginMobileFirst init"); // This appears in logcat

String securityCheckName = CaixaSecurityCheckChallengeHandler.SECURITY_CHECK_NAME;

WLAuthorizationManager.getInstance()
                      .login(securityCheckName, this.getCredencial(),
            new WLLoginResponseListener() {
                @Override
                public void onSuccess() {
                    Log.d(TAG, "loginMobileFirst Success"); // This never appears in logcat
                    setLogged(true);
                    callBack.onSuccess(null);

                }

                @Override
                public void onFailure(WLFailResponse wlFailResponse) {
                    Log.d(TAG, "loginMobileFirst Failure"); // This never appears in logcat
                    Log.d(TAG, "Erro no login: " + wlFailResponse.getErrorMsg());
                    callBack.onError(context.getString(R.string.api_error_sistema_indisponivel));
                }
            });
}
android ibm-mobilefirst authenticity
2个回答
0
投票

MobileFirst尚不支持Android的应用模块。请为您的应用创建一个apk,直到支持此功能。

请在https://www.ibm.com/developerworks/rfe/execute?use_case=changeRequestLanding&BRAND_ID=0&PROD_ID=702&x=17&y=6打开增强请求


0
投票

解决了删除目录app / src / main / jniLibs的问题。我相信该目录包含在旧版本的IBM MFP(7.1)中

谢谢,伙计们!

© www.soinside.com 2019 - 2024. All rights reserved.