Photo by Farzad Nazifi on Unsplash

8 Quick tips to speed up Titanium app development now and in the future

Rene Pot
Rene Pot
Jan 25, 2018 · 4 min read

1. iOS & Encryption

<key>ITSAppUsesNonExemptEncryption</key>
<false/>

2. NavigationWindow and cross-platform

<NavigationWindow module="xp.ui">

3. HTTP calls

4. Hiding ActionBar on Android

"Window[platform=android]": {
theme: 'Theme.AppCompat.NoTitleBar'
}

5. Styling the Window

".generalWindowStyle": {
barColor: "#333333",
backgroundColor: "#ffffff",
titleAttributes: {
color: '#ffffff',
font: "OpenSans"
}
}
<Window class="generalWindowStyle">

6. Unifying further styling in the app

7. Unifying fonts

{
"global": {
"design": {
"fonts": {
"regular": "Montserrat-Regular",
"bold":"Montserrat-Bold",
"italic":"Montserrat-Italic"
}
}
}
".defaultLabelStyling": {
font: {
fontFamily: Alloy.CFG.design.fonts.regular,
fontSize: 14
}
}

8. Unifying colors

Conclusion

All Titanium

Everything about App Development using Appcelerator Titanium

Rene Pot

Written by

Rene Pot

Developer Evangelist @ Appcelerator. Long time cross-platform mobile developer

All Titanium

Everything about App Development using Appcelerator Titanium