You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stay on v7 only for React Native < 0.70. On 0.70–0.81, latest v9 loads on old architecture (native rebuild required). On 0.82+, New Architecture is the only option.
Why upgrade
v9 on old architecture — Android registers as a legacy Native Module when New Architecture is off, so NativeModules.RNZipArchive is non-null. Compile proof on RN 0.81.6 (old-arch.yml).
AbortSignal — pass { signal } to zip / unzip (and password / unzipAssets variants). Rejects with ZipError code ERR_CANCELLED.
Published TypeScript types — package.json"types" points at index.d.ts.
Interop release gate — non-password zips must extract with Node unzipper and Java ZipInputStream before npm publish.
JS call sites from v7 are unchanged. You still need pod install + a native rebuild.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
9.5 is why to leave v7 / v8 / 9.4.
Stay on v7 only for React Native < 0.70. On 0.70–0.81, latest v9 loads on old architecture (native rebuild required). On 0.82+, New Architecture is the only option.
Why upgrade
NativeModules.RNZipArchiveis non-null. Compile proof on RN 0.81.6 (old-arch.yml).AbortSignal— pass{ signal }tozip/unzip(and password /unzipAssetsvariants). Rejects withZipErrorcodeERR_CANCELLED.package.json"types"points atindex.d.ts.unzipperand JavaZipInputStreambefore npm publish.JS call sites from v7 are unchanged. You still need
pod install+ a native rebuild.All reactions