Skip to content

Commit

Permalink
enable background downloading before initialization (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-vungle committed Mar 16, 2021
1 parent 754c752 commit e49c4ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/Classes/VunglePlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ - (void)callInit:(FlutterMethodCall*)call result:(FlutterResult)result {
NSError *error = nil;
_sdk = [VungleSDK sharedSDK];
_sdk.delegate = self;
[VungleSDK enabledBackgroundDownload:YES];
[_sdk startWithAppId:appId error:&error];
}

Expand Down

0 comments on commit e49c4ba

Please sign in to comment.