Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

How to open wallet pass using stream data url in ionic app

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>