Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
276 views
in Technique[技术] by (71.8m points)

html - file:///android_asset in IOS

I'm using angular and ionic. I need access to html file. I did correctly with Android but I don't know how to do it with iOS

if(this.platform.is('android')) {
  browser = this.iab.create('file:///android_asset/www/assets/formAdyen.html', this.paymentGatewayObject.target, this.paymentGatewayObject.options)
}
else {
  browser = this.iab.create('assets/formAdyen.html', this.paymentGatewayObject.target, this.paymentGatewayObject.options)
}

The iOS version doesn't work. How can I get the path of this html file?

question from:https://stackoverflow.com/questions/65830188/file-android-asset-in-ios

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...