When compiling my app with cordova while plugins option is enabled, the apk hangs on splash screen on android (both android 5.0 and 6.1). When plugins code is removed, the app loads just fine. I have run the same code both on ExtJs 6.2 modern and Extjs 6.5 both with same results.
Following is a snippet of my code: (This loads fine)
Code:
xtype: 'grid', columns: [{ text: 'Item', dataIndex: 'item', flex: 4 },
{ text: 'Qty', dataIndex: 'qty', flex: 2},
{ text: 'Price', dataIndex: 'price',align:'center', flex: 1.8},
{ text: 'Total', flex: 2, align: 'right'}],
data: [
{ item: 'Mosi', qty: "3", disc: "0.75", price: "7" },
{ item: 'Castle', qty: "13", disc: "0.50", price: "8" },
{ item: 'Castle Light', qty: "6", disc: "0", price: "13" },
{ item: 'Hansa', qty: "30", disc: "0", price: "5" }
]
}
(This hangs on splash screen)
Code:
xtype: 'grid', columns: [{ text: 'Item', dataIndex: 'item', flex: 4 },
{ text: 'Qty', dataIndex: 'qty', flex: 2,summary: 'count'},
{ text: 'Price', dataIndex: 'price',align:'center', flex: 1.8},
{ text: 'Total', flex: 2, align: 'right'}],
plugins:{gridsummaryrow:true},
data: [
{ item: 'Mosi', qty: "3", disc: "0.75", price: "7" },
{ item: 'Castle', qty: "13", disc: "0.50", price: "8" },
{ item: 'Castle Light', qty: "6", disc: "0", price: "13" },
{ item: 'Hansa', qty: "30", disc: "0", price: "5" }
]
}