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

KeyError when adding tiapp.xml in example of module

$
0
0

Hi I am developing a Titanium module for android and ios applications. My module depends on a property called app_key which i am importing from app's tiapp.xml as <property name="app_key" type="string">myappkey</property>

The above code works fine if i include the module in a sample application. However if i copy tiapp.xml of my sample application and paste the same in example folder of module, and run I get the following error

File "memory:0x10b87f8d0", line 22, in render_body KeyError: 'app_key'

I am wondering about the issue here. I am building using Titanium Studio, build: 3.4.0.201409261227 on OSX 10.9.5 Device :Android

Requesting help here.. Thanks in advance


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>