Jishin Dev [JD]
08/29/2023, 2:46 PMModules can also be embedded with the host application to avoid any downloads if the network is unreachable
Is there any documentation/sample that demonstrates how this can be achieved?Aditya Kurkure
08/30/2023, 4:07 AMJishin Dev [JD]
08/30/2023, 6:22 AMJishin Dev [JD]
08/31/2023, 4:48 PMwithEmbedded
?
Also, with withCache()
enabled, zipline loader tries to fetch from network and fails after app restarts while internet is turned off. Is this expected?Aditya Kurkure
09/04/2023, 6:45 AMbin
as shown in the readme, any other directory doesn't work for me either (Maybe from misconfig on my part).
The manifest call would still be sent even with caching enabled, if the network request fails it would then use the cached / embedded manifest. The binaries work differently though, the order is embedded, cache, network.Aditya Kurkure
09/04/2023, 7:03 AMAnd where exactly do we need to add these files so that it can be picked up viaIt takes in a file system and a path so if you use the assets file system for example, (only for android), place it in the assets folder of the module and give it the corresponding path.?withEmbedded
Jishin Dev [JD]
09/04/2023, 4:18 PMYou have to run the CLI tool in the parent directory ofyes the command runs fine, but fails to exit so unsure if it was able to finish.as shown in the readmebin
The manifest call would still be sent even with caching enabled, if the network request fails it would then use the cached / embedded manifest.this doesn't seem to be happening tho.
Jishin Dev [JD]
09/04/2023, 4:20 PMIt takes in a file system and a path so if you use the assets file system for example, (only for android), place it in the assets folder of the module and give it the corresponding path.Is there an example for this somewhere? If its within assets, can we access path relatively or does it have to be from some root? or would it be a URI situation?
Jishin Dev [JD]
09/04/2023, 6:58 PMAditya Kurkure
09/04/2023, 7:07 PMthis doesn't seem to be happening tho.Are you using load once by any chance?
Jishin Dev [JD]
09/05/2023, 5:05 AMAditya Kurkure
09/05/2023, 8:45 AMJishin Dev [JD]
09/05/2023, 9:18 AMload
and get back. Thanks again @Aditya Kurkurejessewilson
09/05/2023, 1:12 PMJishin Dev [JD]
09/22/2023, 3:35 PMload
worked. Thanks. 🫡
Would you be able to help with how embedded source can be achieved for android/iOS?Jishin Dev [JD]
09/28/2023, 6:44 PMembeddedDir
?
Got the cache working when I tried using FileSystem.SYSTEM_TEMPORARY_DIRECTORY
, but not quite sure if this is how its expected to be configured. A doc/example would be of incredible help, couldn't find any relevant usage of these methods on any other OS projects on github for reference.jessewilson
09/29/2023, 2:27 AMjessewilson
09/29/2023, 2:28 AMjessewilson
09/29/2023, 2:29 AMJishin Dev [JD]
09/29/2023, 7:44 AMjessewilson
09/29/2023, 11:12 AMAditya Kurkure
09/29/2023, 11:16 AMJishin Dev [JD]
09/29/2023, 11:36 AMFileSystem.SYSTEM
access things on the bundle/apk? Do you have additional code that copies it to local for the first time?
Or does this run without any of that hack? Would you be able to share some snippets how to do this on android/iOS?Aditya Kurkure
09/29/2023, 11:46 AMassets
folder.Aditya Kurkure
09/29/2023, 11:54 AMJishin Dev [JD]
09/29/2023, 4:56 PM