Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
DawPi Posted July 18, 2023 Posted July 18, 2023 Hello, my app works fine on 4.7.11 but suddenly stopped being displayed on 4.7.12. Did you changed something in that extension? SeNioR- 1
Stuart Silvester Posted July 18, 2023 Posted July 18, 2023 I don't see any changes related to advertisements
Solution DawPi Posted July 18, 2023 Author Solution Posted July 18, 2023 Weird. I've added second extension with the same code as first and now it... works. SeNioR- 1
Adriano Faria Posted July 18, 2023 Posted July 18, 2023 17 minutes ago, DawPi said: Weird. I've added second extension with the same code as first and now it... works. Probably it was removed somehow from the applications / appKey / data / extensions.json DawPi 1
Adriano Faria Posted July 19, 2023 Posted July 19, 2023 On 7/18/2023 at 11:08 AM, Stuart Silvester said: I don't see any changes related to advertisements On 7/18/2023 at 11:31 AM, Adriano Faria said: Probably it was removed somehow from the applications / appKey / data / extensions.json Something weird there. I just had the same issue with an app. Someone reported: I went to check and everything is ok but it kept claiming the Editor Location extension. So I went to check it in the extensions.json and it doesn't even exists: So I removed the extension and recreated it with the same content and now the .json is there: And I got no error in the app. It was working, according to the user, up to 4.7.10. Leaving it here just in case you want to check it out.
Stuart Silvester Posted July 19, 2023 Posted July 19, 2023 Oh yes, make sure your apps have an extensions.json file, the legacy fallback code was removed in .12 Quote Removed legacy file loader for Extensions. I'm going to assume they're old apps and you haven't added an extension since we moved to the JSON method (that's the action that writes the file)
Stuart Silvester Posted July 19, 2023 Posted July 19, 2023 1 minute ago, Adriano Faria said: In all apps? Removed from all apps? Extensions.json was introduced in 4.4, all apps that use extensions should have one.
Adriano Faria Posted July 19, 2023 Posted July 19, 2023 (edited) Yes, this one should have as it was updated last time on March 13. I was expecting the extensions.json to be built when you export the app; it seems to be done only when you add/remove an extension. Is that right? Edited July 19, 2023 by Adriano Faria
Adriano Faria Posted July 19, 2023 Posted July 19, 2023 (edited) 1 hour ago, Stuart Silvester said: I'm going to assume they're old apps and you haven't added an extension since we moved to the JSON method (that's the action that writes the file) I guess you added this later. Ok, why didn’t you add this to a step upgrade to .12? 🤷🏻♂️ Edited July 19, 2023 by Adriano Faria SeNioR- 1
Stuart Silvester Posted July 19, 2023 Posted July 19, 2023 Added what? extensions.json was implemented in 4.4, from the first beta in 2018. There's nothing we can do in an upgrade step to fix a file missing from an application.
Adriano Faria Posted July 19, 2023 Posted July 19, 2023 Yes, there is. Check if an app hasn’t the extension and then create it on a upgrade step. Videos (and a lot of other apps) added their extensions in 4.0 or 4.1. Seems a bit logical to me.
Stuart Silvester Posted July 19, 2023 Posted July 19, 2023 The code doesn't know whether that's a current extension or one that's there from an older version of the app that's no longer used (which is why we've opted to remove the legacy code, it was masking issues). In a lot of cases applications are stored in read-only locations, but as noted it's not something for us to generate on upgrade. I'll point out again, there has been 5 years to implement the proper extensions method.
Adriano Faria Posted July 19, 2023 Posted July 19, 2023 42 minutes ago, Stuart Silvester said: I'll point out again, there has been 5 years to implement the proper extensions method. I’ll refrain from continuing this conversation. 👍 Lindy 1
DawPi Posted July 19, 2023 Author Posted July 19, 2023 (edited) 4 hours ago, Adriano Faria said: I was expecting the extensions.json to be built when you export the app; it seems to be done only when you add/remove an extension. I was sure that it works that way! If not then it's not logic at all. It should be generated when exporting... Why isn't? 🙂 Edited July 19, 2023 by DawPi teraßyte and Adriano Faria 2
Adriano Faria Posted July 20, 2023 Posted July 20, 2023 A suggestion, if I may. To enhance communication and avoid situations like that, it would be helpful to create a topic in Developer Connection every time a new version will break something. For example: Quote Removed legacy file loader for Extensions. At least to me, it isn't clear that will break all apps without extensions.json. It may be to others, but it isn't to me. That would help the 3rd-party dev community to update their resources during the beta stage. Thank you. Sonya*, DawPi, teraßyte and 1 other 3 1
Recommended Posts