Open OPADA-Eng opened 1 year ago
i changed the import as follows
// import * as utils from "@nativescript/core/utils/utils"; import { Utils as utils } from "@nativescript/core"
also using the constructor as follows
constructor() { // this.printManager = utils.ad.getApplicationContext().getSystemService(android.content.Context.PRINT_SERVICE); this.printManager = utils.android.getApplicationContext().getSystemService(android.content.Context.PRINT_SERVICE); }
Hi I have noticed that the plugin throughs error on the build after updating to NS 8.4.0.
I think the problem from duplicated word "utils" in the path. Thanks