Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27624

iOS: Ti.Blob.read() is inconsistent on device

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Story Points:
      5

      Description

      • Ti.Blob.read() seems to cause inconsistent results when generating hashes on device

      TEST CASE

      const binaryFile = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'Logo.png'),
        blob = binaryFile.read();
      if (Ti.Utils.sha1(blob) === '668e98c66d8a11ef38ab442d9d6d4a21d8593645') {
        console.log('success!');
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gmathews Gary Mathews
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration