IBM MobileFirst 质量保证 - MQA 未定义
IBM MobileFirst Quality Assurance - MQA Not Defined
我的 index.js 中出现以下错误:
Uncaught ReferenceError: MQA is not defined
我的 index.js 文件中有以下代码:
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); }
});
我已经通过 chrome 检查确认 mqa.js 和 tracekit.js 都在我的应用程序中加载。
我错过了什么?
MobileFirst Foundation 8.0 支持至少使用 cordova-ios@4.0.1 和 cordova-android@5.1.1 创建的 Cordova 应用程序.
MobileFirst Quality Assurance 当前不支持上述所需的最低插件版本,因此在 MQA 团队将其 Cordova 插件更新为所需的最低版本之前,您无法将 MobileFirst Foundation 8.0 与 MobileFirst Quality Assurance 结合使用。
我的 index.js 中出现以下错误:
Uncaught ReferenceError: MQA is not defined
我的 index.js 文件中有以下代码:
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); }
});
我已经通过 chrome 检查确认 mqa.js 和 tracekit.js 都在我的应用程序中加载。
我错过了什么?
MobileFirst Foundation 8.0 支持至少使用 cordova-ios@4.0.1 和 cordova-android@5.1.1 创建的 Cordova 应用程序.
MobileFirst Quality Assurance 当前不支持上述所需的最低插件版本,因此在 MQA 团队将其 Cordova 插件更新为所需的最低版本之前,您无法将 MobileFirst Foundation 8.0 与 MobileFirst Quality Assurance 结合使用。