Open AzizKizgin opened 1 year ago
hi, may i know your path for IOS ?
im having issue to store pdf in device
@AzizKizgin Have you found a solution ? I've got the same issue and it's really annoying.
@afizboltz On my side, for iOS, I use the react-native-share so the user can save it anywhere he wants.
@AzizKizgin Have you found a solution ? I've got the same issue and it's really annoying.
@afizboltz On my side, for iOS, I use the react-native-share so the user can save it anywhere he wants.
`@media print {
I just added this and issue fixed.
Works perfectly, thanks
@AzizKizgin Have you found a solution ? I've got the same issue and it's really annoying. @afizboltz On my side, for iOS, I use the react-native-share so the user can save it anywhere he wants.
`@media print {
- { -webkit-print-color-adjust: exact !important; } }`
I just added this and issue fixed.
Same issue here and this solution works for me! thanks!
@media print { * { -webkit-print-color-adjust: exact !important; } }
@media print { * { -webkit-print-color-adjust: exact !important; } }
Can you please tell where to put this line in the html content
@Tusharthakur0977 inside a <style>
tag.
it is my code. I give background-color for style.![Screenshot 2023-08-11 at 12 05 39](https://github.com/christopherdro/react-native-html-to-pdf/assets/65086568/6c6864f5-f4c6-410a-a543-ba9622e957aa)
for android it my pdf is![Screenshot_1691744855](https://github.com/christopherdro/react-native-html-to-pdf/assets/65086568/263df252-2fe0-40c2-b81f-7fea60527ddb)
for ios![Simulator Screenshot - iPhone 14 Pro - 2023-08-11 at 12 05 57](https://github.com/christopherdro/react-native-html-to-pdf/assets/65086568/4584c8da-b593-4d5c-9bb0-e0c90ee5d69d)