Describe the bug
The callbacks onSuccess and onError inside startSDK method cause this error. We cannot remove them as we track errors.
To Reproduce
Steps to reproduce the behavior:
Update to the latest version 6.16.2. Start the sdk manually via startSDK() method and assign the callbacks.
..startSDK(
onSuccess: () {},
onError: (int errorCode, String errorMessage) {
_mobileService.recordError(
AppsflyerInitException(errorMessage: errorMessage),
information: 'AppsFlyer SDK initialization failed with error code $errorCode',
null,
);
},
);
Expected behavior
The callbacks don't cause exceptions
Screenshots
Smartphone (please complete the following information):
- Device: Redmi Note 8 Pro
- OS: Android 14
Describe the bug
The callbacks
onSuccessandonErrorinsidestartSDKmethod cause this error. We cannot remove them as we track errors.To Reproduce
Steps to reproduce the behavior:
Update to the latest version 6.16.2. Start the sdk manually via
startSDK()method and assign the callbacks.Expected behavior
The callbacks don't cause exceptions
Screenshots
Smartphone (please complete the following information):