Hello. I’m making webview-based game and I can’t include custom fonts on my page by some reason. I have a bundle (generated with Parcel bundler) which I show in my webview and where all of my files are.
I have tried all the font formats, which normally should work fine in Chrome (which is my default Android browser): ttf, woff, woff2, svg. And it works fine on my desktop and in Corona Simulator. But not on the real device and I can’t understand why.
I’m including the fonts as usual in web, with @font-face and all files are placed in the same bundle folder in the end. Could you please tell me what can I do wrong? Is there some specific things that I probably don’t know about fonts in webviews in Corona?
P.S. It also works fine when I’m including fonts directly from Google Fonts by adding <link> tag in my html file.
Thank you.