我的代碼是在這裏,如何添加TestFairy離子2應用
// app.component.ts
public TestFairy: TestFairy;
platform.ready().then(() => {
TestFairy.begin(APP TOKEN);
...
});
它通過誤差TestDairy
我的代碼是在這裏,如何添加TestFairy離子2應用
// 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);
...
});
裏面請參考以下鏈接:https://docs.testfairy.com/Integrations/Cordova.html
哪裏可以參考? – Sytham
嗨,如果你包含這個鏈接/// –
Sathyanarayanan
我已經包含但是不工作,謝謝 – Murali