This is for a POC for a prospect, due in a week.
When running the app on iPhone emulator, annotation images work fine. However. they are not visible (orange circles) once packaged and run on the phone through appbeta site.
Also tried with custom view, again, the same issue repeated.
Also, when running on the device, there is no data retrieved from the arrowDB.
Removed click events and android styles for testing purposes. Also, projectView.xml is wrapped in NavigationWindow
*projectView.xml*
*app.tss*
/*
'Label[platform=android,windows]': {
color: '#000' // all platforms except Android and Windows default to black
}
'Window': {
backgroundColor: '#fff' // white background instead of default transparent or black
}
'TextField[platform=android]': {
height: Ti.UI.SIZE
}
*/
'Window':{
// title: ' '
theme: 'customBackArrow'
},
'Window[platform=ios]':{
barColor: '#000',
titleAttributes: {
color: '#FFF'
},
titleImage: '/images/bg_logo_ios.png',
// barImage: '/images/bg_logo_ios.png',
backButtonTitle: '',
tintColor: "white",
navTintColor: '#FFF',
translucent: false
},
'#navWindow[platform=android]':{
titleAttributes: {
color: '#FFF'
},
opacity: 1,
},
'ActionBar[platform=android]':{
title: " ",
backgroundImage: "/images/bg_logo.png"
},
'.fontB':{
font: {
fontFamily: 'Pharma-BoldCond',
fontSize: '18'
}
}
'.fontR':{
font: {
fontFamily: 'Pharma-RegularCond',
fontSize: '15'
},
color: '#000000',
lineSpacing:{
add: 1,
multiply: 1.2
}
},
'Label':{
font: {
fontFamily: 'Pharma-RegularCond',
fontSize: '14'
},
color: '#000000'
},
////////// CUSTOM MAP DOT ///////////////////////
'#pinHolder':{
width: '25',
height: '25'
},
'#pin':{
width: '24',
height: '24',
borderColor: '#FFF',
borderWidth: '2',
borderRadius: '12',
backgroundColor: '#FF6300'
}
"Button[platform=ios]":{
width: 24,
height: 24,
left: 0,
borderWidth: 0
}
*projectView.tss*
".container": {},
'#projSummary':{
backgroundColor: '#E60A6CCB',
layout: 'vertical',
height: '100',
// opacity: '0.1',
// top: '100'
bottom:0
},
'Label':{
color: '#000',
// left: '6%',
// right: '8%',
horizontalWrap: true,
font: {
fontSize: '12'
},
left: 0
},
'#projAddress':{
color: '#7ABCF7'
},
'#projTitle':{
font: {
fontSize: '16'
},
top: '20',
color: '#FFF'
},
'.row':{
layout: 'horizontal',
height: Ti.UI.SIZE,
left: '6%',
right: '8%',
top: '14',
// width: '100%',
width: '85%'
},
'.column':{
width: '49.5%',
layout: 'vertical',
height: Ti.UI.SIZE,
},
'.lblName':{
color: '#199A2B',
// top: '10'
height: Titanium.UI.SIZE
},
'.aligned':{
left: '6%',
right: '8%'
},
'#pDetails':{
lineSpacing:{
add: 1,
multiply: 1.5
}
},
No comments