Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7440

Media-capture manual tests fails on Windows8/8.1/WP8.1 due to APi misalign

    XMLWordPrintableJSON

Details

    Description

      Capture manual tests fails on Windows 8/8.1/WP8.1 due to API misalign in CaptureProxy.
      Details:
      1. Capture methods captures files to user's profile folders, instead of local app’s folders so these files can't be accessed via src="" attribute.
      2. Capture methods returns MediaFile objects without fullPath property.
      3. Capture methods returns MediaFile objects with localURL field set to file's full path.

      Proposed solution:
      1. Return url with ms-appdata// for nativeURL/localURL property

      @param nativeURL
          {DOMString} an alternate URL which can be used by native
          webview controls, for example media players.
          (optional, readonly)
      

      2. fullPath – same as above but w/o msappdata://prefix or native Windows full path.

      with these changes both of fullPath of localURL can be successfully resolved by File plugin after CB-7413 resolution (https://github.com/apache/cordova-plugin-file/pull/70)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vladimir.kotikov Vladimir Kotikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: