-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Hi, recently I've had a bug report from one of my users, that my app is slow to start.
I suspect, that the culprit might be:
void main() async {
WidgetsFlutterBinding.ensureInitialized();
// Configure and activate Adapty SDK
await Adapty().activate(
configuration: AdaptyConfiguration(apiKey: 'YOUR_PUBLIC_SDK_KEY')
);
runApp(MyApp());
Sometimes in the debug mode, this can take up to 2 seconds. This is on iOS.
Would it be possible to either not require await or make the method run faster?
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation