Summary of weirdness

When the preview/emulator finally starts working (after 5+ min of the spinner) here’s a summary of what I’ve found …

  1. Have an issue where a page variable (list of objects) is updated and the Icon List Item component is not being refreshed. Works fine in the previous version.

  2. Some events are not triggering on app load. Added some pop-up alerts to try and figure out what’s happening.

Both of these events are triggered at the same time during a successful login.

2a) This event in the Global canvas IS NOT triggered …

2b) This event in the Global canvas IS triggered however the later steps do not run. The later alerts do not appear (at least one should appear) and app data variable is empty.

  1. Border width is not being displayed in the new preview.

Here’s the setting when you go into isolation mode …

image

3a) Old preview app … (space between list items)

image

3b) New preview app … (no space between list items)

image

App ID is 93291 if you want to take a look.

Hey!

A lot of the new runtime issues have been fixed by now :pray: did the fixes resolve any of these issues?

Hi @Cecilia_Berg

The only thing that seems to be better is that the preview/emulator is loading within 3 to 5 seconds.

However, none of the app issues listed above have been resolved.

Hi @Harri_Sarsa … curious on when these issues will be addressed. Should I open up separate bug reports for each?

Any update as to the stability of the new version? The new preview app on iOS is unusable (just see spinner and never loads the app). Using the web preview, I still see the issues listed above.

Hey, sorry again for the late response! :disappointed:

First of all for the border width issue, to get space between list items I would suggest using margins instead of border width.

As for the app not loading, have you experienced this for a long time? We have noticed some instances of apps not loading for brief amounts of time, but if you’ve experienced it longer it should definitely get looked at more carefully. I’m guessing you’ve already checked these, but make sure that the page parameters on any page/pages that are open when you open the app (the first page and any other pages in the navigation menu). Also check that the first page you open has a hide spinner logic attached to the page mounted event.

As for the list of objects not being updated in the Icon List component, I just tried this and it seemed to work. Have you updated all components in Composer? If yes, then what is the schema of the list of objects like? I can try again with a more exact replication to see where the problem lies.

About the events not triggering, seems definitely like a bug, I’ll file a bug report about it. Thanks for bringing it to our attention!

And again, sorry for all the inconveniences! Let’s try to get it working soon so your development can continue as normal.

Hi @Cecilia_Berg … Thanks for the update.

  1. I’ll look into margins for the border width issue

  2. Preview app still does not bring up my app. I just checked with …

  • v2.4.24 via TestFlight
  • v2.4.27 from the app store
  • and the web preview

In all cases just getting the spinner.

It has worked on these platforms, but very rarely (maybe 1 out of 10 times when I randomly check can I get into the app - that’s how I got the screenshots) so I know it not spinner/page issues.

Works fine in the AG Legend app and the preview-legend via web.

At this point, the new version is unusable for me because I can’t test/debug.

  1. For the list of objects not being updated … on component tap I a) update the current object as done in toggle completed activity via javascript, b) check if the habit streak is done in weekDone via javascript, and then c) force activity object to update by resetting the page variable.

So in essence, I’m updating the object directly via javascript and forcing a refresh.

The reason that I do this is so that the user completing their habit sees the habit updating in the list right away. I then complete the database update in the background.

There’s about a 1 to 2 second delay in toggling the update if I wait for the update and refresh the object from the database. Which is not the best user experience.

The approach works fine in AG Legend.

  1. If you need any more info about events not triggering let me know.

Hey,

When you open the app in web preview, can you see any errors in the console in your browser? So open the console by Cmd + Opt + J / Ctrl + Shift + J and then open the app in the web preview. Do you get any errors? If you do, please post screenshots of them. Thanks!

Here are the console errors from browser …

It’s blank until after 1 to 2 min then first 2 messages appear.
After another 1 to 2 min, next 2 messages appear.
Then after another 1 to 2 min, app starts …

Thanks for the screenshots! That error is due to an issue we are working on top priority to get it fixed. Unfortunately there is not much to do for a workaround in this case, other than using the Legend app. The problem should be fixed soon :pray:

Hi @Cecilia_Berg

Can you provide an update on …

  1. ETA on when the issues with the Preview app will be fixed?

  2. Did you file a bug report for the event not triggering issue?

  3. Have you had a chance to review the list of objects not being updated issue?

Tx … Ron

1 Like