Print HTML document in mobile app
We want to print html document in mobile app. we have HTML document (whole, with <html>, <head>, <body> tags) in response after calling API.
Now we need to show print preview or something like it, to print on connected printer. No matter how, the main thing is to print it.
In web app, we made it using small js code.
1. open new window
2. set html text
3. call print function
but this all are using browser's functionality.
How we can make it in mobile app?