NativeScript / ios

NativeScript for iOS and visionOS using V8
https://docs.nativescript.org/guide/ios-marshalling
131 stars 33 forks source link

fix: ensure same mtime for js and code cache to prevent loading old code caches #261

Closed edusperoni closed 2 months ago

edusperoni commented 2 months ago

Potential fix for the following issue:

User installs Version 1. JS modification time = 0 Developer releases Version 2. JS modification time = 1 User runs app (Version 1). Cache modification time = 2 User updates app to Version 2. Cache time (2) > JS time (1) = load old cache

Still gathering information to see if this works well in all scenarios