V
V
Vladimir Maltsev2016-04-26 19:59:37
Android
Vladimir Maltsev, 2016-04-26 19:59:37

PhoneGap does not include MT fonts from Google after build. Access settings?

In index.html we indicate the loading of fonts

<link rel="stylesheet" href="http://fonts.googleapis.com/icon?family=Material+Icons" />

Specify accesses in config.xml:
<access origin="*"/>
  <plugin name="cordova-plugin-whitelist" version="1"/>
  <allow-intent href="http://*/*"/>
  <allow-intent href="https://*/*"/>
  <allow-intent href="tel:*"/>
  <allow-intent href="sms:*"/>
  <allow-intent href="mailto:*"/>
  <allow-intent href="geo:*"/>
  
 
  <platform name="android">
    <allow-intent href="market:*"/>
    
  </platform>
  <platform name="ios">
    <allow-intent href="itms:*"/>
    <allow-intent href="itms-apps:*"/>
  </platform>

Everything is in order in the emulator, but if we prepare a build through build.phonegap.com, then after installation on android the fonts are not loaded. I have been
working with PhoneGap for less than a week - do not kick your feet)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yakov Vylegzhanin, 2016-04-27
@vylegzhanin

Is the Internet enabled on the real device?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question