I have stream data url(wallet pass file) coming from backend, so using this url I should be able to open wallet pass in ionic app. I tried using PreviewAnyFile cordova plugin and also FileOpener plugin. Using either of plugins I am getting blank doc instead of wallet pass.Any suggestions would be appreciated on achieving this.
Here is the code I am using to open wallet pass,
this.previewAnyFile.previewPath(‘url’,{ mimeType: “application/vnd.apple.pkpass”, name:“name.pkpass”})
.subscribe(res => console.log('res),error => console.error(error))
Here url is stream data url.
1 post - 1 participant