-
Notifications
You must be signed in to change notification settings - Fork 21
Description
I successfully setup the singular service, but I receive no logs on the Testing console. Here's my setup
`class SingularService {
void launch() async {
SingularConfig config =
SingularConfig(Env.singularApiKey, Env.singularApiSecret)
..clipboardAttribution = true
..enableLogging = true
..collectOAID = true
..logLevel = 1;
String? imei = await FlutterDeviceImei.instance.getIMEI();
logPrint('IMEI: $imei');
config.waitForTrackingAuthorizationWithTimeoutInterval = 60;
config.skAdNetworkEnabled = true;
config.limitDataSharing = false;
config.withGlobalProperty("key1", "value1", true);
config.withGlobalProperty("key2", "value2", true);
Singular.start(config);
Singular.event("Launched");
Singular.event("Completed");
}
}`
I also get this error - IO Exception
` D SingularRequestHandler [api] - API POST https://sdk-api-v1.singular.net/api/v1/config?a=SINGULAR_API_KEY&aifa=c216c187-1d70-4b30-b6b6-ae1b2eb614c4&c=wifi&event_index=0&i=com.jollofplus.app&k=AIFA&lag=97893.961&p=Android&rc=20&rt=json&sdk=Singular%2Fv12.6.0-Flutter%2F1.5.1&singular_install_id=b4159f13-6235-4658-a817-285207b68f42&u=c216c187-1d70-4b30-b6b6-ae1b2eb614c4&h=e8a54f8b05fe8f30c2f8582c53f579a79e0f1c2b
E ApiManager [api] - IOException in processing an event: https://sdk-api-v1.singular.net/api/v1/config?a=SINGULAR_API_KEY&aifa=c216c187-1d70-4b30-b6b6-ae1b2eb614c4&c=wifi&event_index=0&i=com.jollofplus.app&k=AIFA&lag=97893.961&p=Android&rc=20&rt=json&sdk=Singular%2Fv12.6.0-Flutter%2F1.5.1&singular_install_id=b4159f13-6235-4658-a817-285207b68f42&u=c216c187-1d70-4b30-b6b6-ae1b2eb614c4&h=e8a54f8b05fe8f30c2f8582c53f579a79e0f1c2b`
Anyone have any idea how to proceed?