It looks like there is a problem with cordova.js conflicting with phonegap. It is now not possible using the lastest phonegap build to get device.platform to work in order to use the appropriate registerDevice function. This is a pretty serious conflict that would require a developer to build separately for each device. Is there a fix coming?