4 Replies Latest reply on Sep 13, 2010 8:39 AM by atian25

    getApplicationVersion always gives null

    atian25

      i just want to detect whether my app is installed and what version it is from web.

       

      getStatus() call correctly tells me if I have AIR or not, but the  getApplicationVersion always gives null. If I go ahead anyway,  installApplication or launchApplication also work.

       

      air 2.1

      i don't have a Publisher ID, and the elvisss7.p12 is gen by flashbuilder4.

       

      airSwf.getApplicationVersion('elvis.ss7.analysis', '', versionDetectCallback);

       

      private function versionDetectCallback(version:String):void{
        Alert.show(version);
      }