tag:github.com,2008:https://github.com/ConnectedHomes/react-native-fetch-blob/releasesRelease notes from react-native-fetch-blob2023-10-10T12:10:42Ztag:github.com,2008:Repository/286179415/v0.10.832023-10-10T12:12:15ZFixed iOS Podfile<p>Fixed iOS Podfile</p>rajarab2tag:github.com,2008:Repository/286179415/v0.10.822023-10-10T09:02:16ZAndroid SDK 33 update<p>Android SDK 33 update</p>rajarab2tag:github.com,2008:Repository/286179415/v0.10.812020-08-09T06:25:46ZInternal Patch release<p>Internal Patch release where the rn-fetch-blob is replaced with react-native-fetch-blob as there were few issues related to file access in IPhone devices while using RELEASE_TARGET.<br>
The patch was added on the official tag v6.2.0.</p>udaisshekhawattag:github.com,2008:Repository/286179415/v0.10.92017-08-09T09:56:39Zv0.10.9: Fix for #467 (#472)<ul>
<li>
<p>bump to 0.10.8</p>
</li>
<li>
<p>Update PULL_REQUEST_TEMPLATE</p>
</li>
<li>
<p>Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248754813" data-permission-text="Title is private" data-url="https://github.com/wkh237/react-native-fetch-blob/issues/468" data-hovercard-type="issue" data-hovercard-url="/wkh237/react-native-fetch-blob/issues/468/hovercard" href="https://github.com/wkh237/react-native-fetch-blob/issues/468">wkh237#468</a> "Messy error returns: Sometimes a string, sometimes an Error object"</p>
</li>
<li>
<p>Cleanup: remove an unused constant and duplicate method definitions</p>
</li>
<li>
<p>Cleanup:</p>
</li>
</ul>
<ul>
<li>fix minor errors in JSDoc comments, for example {string]} => {string}</li>
<li>fix parameter name "encode" => "encoding" (more logical, and it says so in the function's JSDoc too)</li>
<li>json-stream.js: split a looooong log message string constant into two parts and fix a typo ("maually"), and the type for objects is "Object" (capitalized) in Flow type annotations</li>
</ul>
<ul>
<li>
<p>Fix a (Flow) type conflict - fixes issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248265369" data-permission-text="Title is private" data-url="https://github.com/wkh237/react-native-fetch-blob/issues/461" data-hovercard-type="issue" data-hovercard-url="/wkh237/react-native-fetch-blob/issues/461/hovercard" href="https://github.com/wkh237/react-native-fetch-blob/issues/461">wkh237#461</a></p>
</li>
<li>
<p>NEEDS REVIEW - Attempt to fix some of issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248172645" data-permission-text="Title is private" data-url="https://github.com/wkh237/react-native-fetch-blob/issues/460" data-hovercard-type="issue" data-hovercard-url="/wkh237/react-native-fetch-blob/issues/460/hovercard" href="https://github.com/wkh237/react-native-fetch-blob/issues/460">wkh237#460</a> (Error message normalization)</p>
</li>
</ul>
<p>Error messages reported by iOS and Android versions should be as similar as possible. Also, within the same system there should be consistency. This patch is an attempt to bring a LITTLE more of this consistency to the error messages. I also fixed some very few minor language issues, like "does not exist" (is the correct English). I tried keeping the changes to a minimum.</p>
<p>Background: In my project code I want to know when a file already exists (e.g. after calling fs.createFile), and the only way is to check the error message string that I get. It's bad if they differ between versions (createFileASCII and createFile) and then also between Android and iOS version. At least some core part of the string should be the same, so that I have something to match.</p>
<p>Ideally messages should come from a centralized easy (easier) to maintain file (for both iOS and Android), and ideally both systems should have the same errors and messages as far as possible.</p>
<ul>
<li>Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248585854" data-permission-text="Title is private" data-url="https://github.com/wkh237/react-native-fetch-blob/issues/467" data-hovercard-type="issue" data-hovercard-url="/wkh237/react-native-fetch-blob/issues/467/hovercard" href="https://github.com/wkh237/react-native-fetch-blob/issues/467">wkh237#467</a> by improving the write() function of write streams: By resolving with the RNFetchBlobWriteStream instance instead of with "undefined" writes can now be chained:</li>
</ul>
<p>RNFetchBlob.fs.writeStream(PATH_TO_FILE, 'utf8', true)<br>
.then((ofstream) => ofstream.write('foo'))<br>
.then((ofstream) => ofstream.write('bar'))<br>
.then((ofstream) => ofstream.write('foobar'))<br>
.then((ofstream) => ofstream.close())</p>
<p>Reference: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248585854" data-permission-text="Title is private" data-url="https://github.com/wkh237/react-native-fetch-blob/issues/467" data-hovercard-type="issue" data-hovercard-url="/wkh237/react-native-fetch-blob/issues/467/hovercard?comment_id=321194693&comment_type=issue_comment" href="https://github.com/wkh237/react-native-fetch-blob/issues/467#issuecomment-321194693">wkh237#467 (comment)</a></p>LionessTestertag:github.com,2008:Repository/286179415/v0.10.82017-08-03T01:37:08Zv0.10.8<p>bump to 0.10.8</p>bcpclonetag:github.com,2008:Repository/286179415/v0.10.72017-08-02T15:04:09Zv0.10.7<p>Merge branch '0.10.7' of github.com:wkh237/react-native-fetch-blob in…</p>wkh237tag:github.com,2008:Repository/286179415/v0.10.62017-06-26T15:52:27Zv0.10.6<p>bump to 0.10.6 and update contributors</p>wkh237tag:github.com,2008:Repository/286179415/v0.10.52017-04-26T09:31:06Zv0.10.5<p>Catch null contentUri (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="224394366" data-permission-text="Title is private" data-url="https://github.com/wkh237/react-native-fetch-blob/issues/343" data-hovercard-type="pull_request" data-hovercard-url="/wkh237/react-native-fetch-blob/pull/343/hovercard" href="https://github.com/wkh237/react-native-fetch-blob/pull/343">wkh237#343</a>)</p>AndrewJacktag:github.com,2008:Repository/286179415/v0.10.42017-03-31T02:14:23Zv0.10.4<p>bump to 0.10.4</p>wkh237tag:github.com,2008:Repository/286179415/v0.10.3-beta.12017-02-05T03:38:05Zv0.10.3-beta.1<p>bump to 0.10.3-beta.1</p>wkh237