How to export json array into excel(xlsx format) in angular2

Hi I am trying to export json array items using alasql.
When i click a button i am exporting the data to excel using the code below

"alasql("SELECT * INTO XLSX(‘Details.xlsx’,{headers:true}) FROM ? “,[this.items]);”

The excel is getting downloaded in browser but not in mobile.

Kindly guide me is there any native api to export the data to excel in mobile or am i doing anything wrong?


Do you have any news here?