Skip to content

Commit

Permalink
Docs - added await to initSdk
Browse files Browse the repository at this point in the history
  • Loading branch information
liaz-af committed May 7, 2024
1 parent 5638336 commit 95a4348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ import 'package:appsflyer_sdk/appsflyer_sdk.dart';
AppsflyerSdk _appsflyerSdk = AppsflyerSdk({...});
_appsflyerSdk.initSdk(
await _appsflyerSdk.initSdk(
registerConversionDataCallback: true,
registerOnAppOpenAttributionCallback: true,
registerOnDeepLinkingCallback: true)
Expand Down
2 changes: 1 addition & 1 deletion doc/BasicIntegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Please keep in mind that registering the `registerOnDeepLinkingCallback` will ov
After we call `initSdk` we can use all of AppsFlyer SDK features.

```dart
appsflyerSdk.initSdk(
await appsflyerSdk.initSdk(
registerConversionDataCallback: true,
registerOnAppOpenAttributionCallback: true,
registerOnDeepLinkingCallback: true
Expand Down

0 comments on commit 95a4348

Please sign in to comment.