Skip to content

Commit ca36c8f

Browse files
committed
Properly ignore reinitialization with the same config by returning from init at the right time
1 parent 31728f9 commit ca36c8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/approov_service_flutter_httpclient.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ class ApproovService {
253253
"Attempt to reinitialize the Approov SDK with a different configuration $config");
254254
}
255255
Log.d("$TAG: Ignoring multiple ApproovService layer initializations with the same config");
256+
return;
256257
}
257258

258259
// perform the actual initialization

0 commit comments

Comments
 (0)