This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

IOS App "nRF Loader" keeps temporairy files in behind

Hi

Thank you for the IOS App "nRF Loader" which was released last week. It works well and offers a lot of possibilities for Nordic developpers. I've one question about the app.

If i open a "app.bin" firmware file from Mail-App it gets loaded by the "nRF Loader"-App as "app.bin". If i open it a second time it becomes "app-1.bin". Any time the same file is opened it becames a new name in the "nRF Loader".

  • Does this store a lot of files in behind?
  • Can this files behind be deleted?
  • How to avoid the new files if the same file is opened a few times?

Regards Adrian

Parents
  • When developing this application, I assumed that iOS would clean up those files automatically. Unfortunately, when looking into it in more detail now, it seems this is not the case. The files are however very small (i.e. << 100 kB), so there shouldn't be any major problems with leaving them, and they should be removed if you delete the app, but I've registered this as something that should be fixed in a future release. Thanks for letting us know!

    For reference, according to this page, the app should be able to delete those files itself, most likely using NSFileManager or something similar. There are some suggestions on strategies on Stack Overflow, here and here.

    Also, for an actual integration of this functionality into another app, I guess some other method of delivering the binary to the app would be used, in which case this problem should not be seen.

  • I agreee, that this is not a major problem. The actual version works ok for our needs. It would just make the great tool a bit better... ;-)

Reply Children
No Data
Related