IBM MobileFirst质量保证 - MQA未定义 [英] IBM MobileFirst Quality Assurance - MQA Not Defined

查看:158
本文介绍了IBM MobileFirst质量保证 - MQA未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在index.js中收到以下错误:

I am getting the following error in my index.js:


未捕获的ReferenceError:未定义MQA

Uncaught ReferenceError: MQA is not defined

我的index.js文件中有以下代码:

I have the following code in my index.js file:

MQA.startNewSession({
    //Required for IBM MobileFirst Quality Assurance
    // or "MARKET" if it is production mode.

    mode: "QA",
    shake: true,
    protocol: 'http',
    host: 'ourhostnamehere:80',
    versionName: "1.0", // app release version
    android: {
      appKey: "91719217347da8e6daf648192dc774664978bba1",
      versionNumber: "1" // app version number
    }
     /*ios: {
         applicationKey: "<iOS MQA application key>",
         versionNumber: "1.0" // app version number
     }*/
},{
      success: function () { console.log("mqa success"); },
      error: function (e) { console.log("mqa failed: " + e); }
});

我已经确认mqa.js和tracekit.js都是通过chrome inspect在我的应用中加载的。

我缺少什么?

I have confirmed that both mqa.js and tracekit.js are loading in my app via chrome inspect.
What am I missing?

推荐答案

MobileFirst Foundation 8.0支持至少使用cordova-ios @ 4.0.1 和cordova-android@5.1.1。

MobileFirst Foundation 8.0 supports Cordova applications that are created at minimum with cordova-ios@4.0.1 and cordova-android@5.1.1.

MobileFirst Quality Assurance目前不支持上述最低要求的插件版本,因此您无法使用MobileFirst Foundation 8.0使用MobileFirst质量保证,直到MQA团队将其Cordova插件更新到所需的最低要求。

MobileFirst Quality Assurance currently does not support the required plug-in version minimum mentioned above, as such you cannot use MobileFirst Foundation 8.0 with MobileFirst Quality Assurance until the MQA team updates their Cordova plug-in to the required minimum.

这篇关于IBM MobileFirst质量保证 - MQA未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆