Hi Koders,
This is Kshitij. Is there anyone else who’s companion crashes a lot or is it only me who is having this issue? Whenever I connect to the companion, it connects appropriately, but when I refresh the screen it just disconnects…
Edit More Info…
I was working on an AppStore project…
I am using DynamicComponents Extension… (No Other Extension)
I made an AIA/AIX Store list by following @themaayur’s guide…
Then I tried to connect to the companion…
At first, it connected properly, I then refreshed my companion,s screen and the app(companion) closed by itself…
I then tried several times to connect but it only connects once and when I refresh the screen it disconnects on its own…
I was not using any other app while testing… My internet was also really good i.e at the speed of 3MBps…
Please see @Peter if this much info is fine for the issue…
Could you try loading the images using the image loader component or this extension:
Loading may images in the same time may cause your app to crash.
Also the icon argument in addTitleBarIcon block, accepts an image path, and not an emoji:
Also, some times using old or outdated versions of extensions causes your app to crash, do you have the latest version of dynamic components extension?
And finally, it was said before that status BarLightIcon property doesn’t work on screen Initialization, of course that won’t cause your app to crash, but it won’t work, you might use a timer instead, see also here:
How is it their work @Peter, I am not able to understand your question… Please make it more clear… And if I am wrong somewhere then please tell me I"ll withdraw that post…