Implement checking of platform + version in cordova-js to values returned in 
native device information
------------------------------------------------------------------------------------------------------

                 Key: CB-385
                 URL: https://issues.apache.org/jira/browse/CB-385
             Project: Apache Callback
          Issue Type: New Feature
          Components: CordovaJS
    Affects Versions: 1.5.0
            Reporter: Filip Maj
            Assignee: Filip Maj
             Fix For: 1.7.0


There still exists a lot of confusion regarding utilizing the wrong .js file 
for a given platform. Many people still think that the cordova.js file can be 
reused across platforms.

We should implement a check in cordova-js, comparing with some tokens that get 
replaced in the JS at build-time, that verify the version and platform that the 
.js file is built for matches what the native framework returns. IF it doesn't 
we can alert the user of the issue and hopefully avoid a lot of headache for 
users who are unaware.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to