twilio / twilio-voice-ios

Programmable Voice SDK by Twilio
https://www.twilio.com/voice
38 stars 14 forks source link

`+[TwilioVoiceSDK load]` contributes to slow app launch time #130

Open ccrazy88 opened 3 days ago

ccrazy88 commented 3 days ago

Description

According to Xcode's organizer, 20% of our app's slow launch time is caused by +[TwilioVoiceSDK load].

Trace

Is it possible to move this work outside of the app launch path, closer to when our app starts to use the voice SDK (e.g., placing a call)? For our app, the voice SDK is used for customer support and is thus inactive most of the time, so avoiding any launch time penalty would be especially beneficial to us. Thank you!

Expected Behavior

SDK doesn't affect app startup time.

Versions

Voice iOS SDK

6.11.2 via Swift Package Manager

Xcode

15.4

iOS Version

N/A

iOS Device

N/A

bobiechen-twilio commented 2 days ago

Thanks for the feedback @ccrazy88 We will take a look and keep you updated.