title: Fennec Nightly Build Version 29.0a1 & Addon-Sdk-1.15 max version(22.0a1)
body: <p>I'm scratching my head on this one. </p>
  
  <p>My add-on installs but does not seem to function.</p>
  
  <p>I have a working add-on I built for Firefox(web) that geolocates, gets domain/path/etc/, user-agent, ports the info to the content script, yada yada, etc etc, but I couldn't seem to get it to do more than install on the nightly Fennec build.</p>
  
  <p>I understand some modules aren't available on mobile yet, which is not a big deal, at this point I am literally just trying to get an alert box to pop-up.  </p>
  
  <p>Just for the hell of it here are the basic files for the alert box: </p>
  
  <hr>
  
  <p><strong>lib/main.js</strong></p>
  
  <pre><code>var data = require("sdk/self").data;
  var pageMod = require("sdk/page-mod");
  
  exports.main = function() {    
      pageMod.PageMod({    
          include: "*",
          contentScriptWhen: 'ready',  
          contentScriptFile: [data.url("test.js") ],            
          attachTo: ["top"]
      });    
  };
  </code></pre>
  
  <hr>
  
  <p><strong>data/test.js</strong></p>
  
  <pre><code>window.alert("hello");
  alert("you");
  </code></pre>
  
  <hr>
  
  <p>My thoughts are this may be a version conflict, but my fix didn't seem to make a difference.</p>
  
  <p>I have installed the nightly build of firefox which today is (29.0a1) </p>
  
  <p>I have installed the Addon-sdk-1.15 (current) </p>
  
  <p>When I package my addon</p>
  
  <pre><code>cfx xpi --force-mobile 
  </code></pre>
  
  <p>the produced <em>Install.rdf</em> reads max-version(22.0a1). </p>
  
  <p>This appears to be my problem, so I have adjusted the max-version to (29.0a1) in the constructor for the install.rdf located in /addon-sdk-1.15/app-extension/install.rdf, so when I package again the max-version will match my nightly build. </p>
  
  <p>Is this the correct method of doing this?</p>
  
  <p>I install the xpi, by </p>
  
  <pre><code>adb push my-addon.xpi /mnt/sdcard/
  </code></pre>
  
  <p>Then open Firefox Mobile and type this into the address bar:</p>
  
  <pre><code>file:///mnt/sdcard/my-addon.xpi
  </code></pre>
  
  <p>It installs correctly, but again, no functionality.  </p>
  
  <p>Does anyone have any useful input? </p>
  
  <p>Thank you in advance. </p>