3 ms·
how is your app architected that drawing a button to publish to social media would slow your app down?
by fragmede 2y ago
how is your app architected that drawing a button to publish to social media would slow your app down?
- jazzyjackson 2y agocan't speak to the OPs situation, but I remember a case in mobile apps where if you wanted to let people log in with facebook you needed to depend on the facebook sdk which necessarily blocked the cold start of the app while phoning home, for analytics purposes naturally I think this became a discussion item because facebook servers briefly went down and a bunch of apps wouldn't open If I'm remembering it wrong, consider this a hypothetical scenario :)
- teo_zero 2y agoEasy: it asks you the details of your accounts on first access, and stores them in its configuration. When launched the next time, it tries to log you in automatically. It also waits for the login to complete before drawing the button, so that it can gray it out if the login fails. Then it continuously checks the network and changes the button to reflect mutated conditions: connection lost, new messages/post...