Apache Cordova
  1. Apache Cordova
  2. CB-385

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

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.5.0, 1.6.0, 1.6.1, 1.7.0
    • Fix Version/s: None
    • Component/s: CordovaJS
    • Labels:
      None

      Description

      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.

        Activity

        Filip Maj made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Filip Maj made changes -
        Fix Version/s 1.8.0 [ 12319550 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Filip Maj made changes -
        Field Original Value New Value
        Fix Version/s 1.8.0 [ 12319550 ]
        Fix Version/s 1.7.0 [ 12319549 ]
        Affects Version/s 1.6.0 [ 12319548 ]
        Affects Version/s 1.6.1 [ 12320757 ]
        Affects Version/s 1.7.0 [ 12319549 ]
        Filip Maj created issue -

          People

          • Assignee:
            Filip Maj
            Reporter:
            Filip Maj
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development