如何添加 TestFairy ionic 2 应用程序
How to add the TestFairy ionic 2 application
我的代码在这里,
// app.component.ts
public TestFairy: TestFairy;
platform.ready().then(() => {
TestFairy.begin(APP TOKEN);
...
});
通过 TestDairy 的错误
试试这个
// app.componenet.ts
/// <reference path="../plugins/com.testfairy.cordova-plugin/www/testfairy.d.ts" />
在导入之后,添加以下行以导入 TestFairy
declare var TestFairy: TestFairy;
构造函数内部
platform.ready().then(() => {
TestFairy.begin(APP TOKEN);
...
});
请参考这个link:https://docs.testfairy.com/Integrations/Cordova.html
See the TestFairy documentation for ionic.
还建议添加此插件以启用登录 ios 10.x:
离子插件添加cordova-plugin-console
谢谢,
尤瓦尔.
我的代码在这里,
// app.component.ts
public TestFairy: TestFairy;
platform.ready().then(() => {
TestFairy.begin(APP TOKEN);
...
});
通过 TestDairy 的错误
试试这个
// app.componenet.ts
/// <reference path="../plugins/com.testfairy.cordova-plugin/www/testfairy.d.ts" />
在导入之后,添加以下行以导入 TestFairy
declare var TestFairy: TestFairy;
构造函数内部
platform.ready().then(() => {
TestFairy.begin(APP TOKEN);
...
});
请参考这个link:https://docs.testfairy.com/Integrations/Cordova.html
See the TestFairy documentation for ionic.
还建议添加此插件以启用登录 ios 10.x:
离子插件添加cordova-plugin-console
谢谢, 尤瓦尔.