<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The simulate tab does not in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/SQLitePlugin-js-452-Uncaught-TypeError-Cannot-read-property-type/m-p/1104840#M70078</link>
    <description>&lt;P&gt;The simulate tab does not simulate that plugin. See these two doc pages:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;A href="https://software.intel.com/en-us/xdk/docs/intel-xdk-simulator" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/intel-xdk-simulator&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://software.intel.com/en-us/xdk/docs/intel-xdk-simulator-limitations" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/intel-xdk-simulator-limitations&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Especially the second-half of the second doc...&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2017 19:44:10 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2017-02-27T19:44:10Z</dc:date>
    <item>
      <title>SQLitePlugin.js:452 - Uncaught TypeError:  Cannot read property 'type' of undefined"</title>
      <link>https://community.intel.com/t5/Software-Archive/SQLitePlugin-js-452-Uncaught-TypeError-Cannot-read-property-type/m-p/1104839#M70077</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm getting grief from the cordova-sqlite-storage plugin within the XDK simulator. &amp;nbsp;Whenever I try to execute a transaction, I get the following error in the console:&lt;/P&gt;

&lt;P&gt;"Uncaught TypeError: &amp;nbsp;Cannot read property 'type' of undefined" &amp;nbsp;SQLitePlugin.js:452&lt;/P&gt;

&lt;P&gt;Here is my code:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function onDeviceReady() {
    document.addEventListener('deviceready', createSQLDB, false);
}

function createSQLDB() {
    var db = null;
    db = window.sqlitePlugin.openDatabase({name: 'database.db', location: 'default'});
    setTimeout(function() {
		db.transaction(function(transaction) {
			transaction.executeSql('CREATE TABLE IF NOT EXISTS settings (id integer primary key, option1 text, option2 text)', [],
			function(tx, result) {
				alert("Table created successfully");
			},
			function(error) {
				alert("Error occurred while creating the table.");
			});
		});

		
    }, 1000);
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Is there something obvious I've missed or is this the simulator failing to support the plugin, please? &amp;nbsp;Any help would be greatly appreciated!&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;

&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 14:36:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/SQLitePlugin-js-452-Uncaught-TypeError-Cannot-read-property-type/m-p/1104839#M70077</guid>
      <dc:creator>Andy_W_</dc:creator>
      <dc:date>2017-02-26T14:36:33Z</dc:date>
    </item>
    <item>
      <title>The simulate tab does not</title>
      <link>https://community.intel.com/t5/Software-Archive/SQLitePlugin-js-452-Uncaught-TypeError-Cannot-read-property-type/m-p/1104840#M70078</link>
      <description>&lt;P&gt;The simulate tab does not simulate that plugin. See these two doc pages:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;A href="https://software.intel.com/en-us/xdk/docs/intel-xdk-simulator" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/intel-xdk-simulator&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://software.intel.com/en-us/xdk/docs/intel-xdk-simulator-limitations" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/intel-xdk-simulator-limitations&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Especially the second-half of the second doc...&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 19:44:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/SQLitePlugin-js-452-Uncaught-TypeError-Cannot-read-property-type/m-p/1104840#M70078</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-02-27T19:44:10Z</dc:date>
    </item>
  </channel>
</rss>

