Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Testing app with FontAwesome in TiShadow

$
0
0

Hi, I'm developing my first app with alloy / titanium, and really liking the platform.

I've included some font awesome icons using the excellent widget from here https://github.com/MattMcFarland/com.mattmcfarland.fontawesome, and it works beautifully when I build and run on both android and iPhone. So far so good.

The problem I have is that I don't see the icons when I run through TiShadow (using simulator and emulator). On android I get nothing, and on iPhone I get a random icon. I'm hoping it's something obvious. Do I have to copy the widget to somewhere in the TiShadow install to get it to work?

I can see the directories myapp/build/tishadow/src/iphone/fonts/com.mattmcfarland.fontawesome and contents (and the corresponding android one, along with FontAwesome.ttf copied directly to the fonts directory as per the instructions).

I can also see the widget being required when it runs, and no errors

[INFO] [android, 4.3, 10.0.3.15] Requiring: appdata-private://Radar_audit/android/alloy/widgets/com.mattmcfarland.fontawesome/controllers/widget.js
[INFO] [android, 4.3, 10.0.3.15] Requiring: appdata-private://Radar_audit/android/com.mattmcfarland.fontawesome/icons.js
and similar for iPhone.

Any suggestions gratefully accepted.

I'm using: - Mac OS X: 10.9.4 - Titanium SDK: 3.4.0.GA - Alloy: 1.3 - com.mattmcfarland.fontawesome: 1.3.0


Viewing all articles
Browse latest Browse all 8068

Trending Articles