initializeSdk method
void
initializeSdk({})
will only save siteId
&& apiKey
and save them in [SharedPreferences}
Implementation
void initializeSdk({
required String apiKey,
required String siteId,
required String baseUrl,
required bool isSubscribed,
bool pushEnabled = true,
String? appVersion,
}) async {
await _saveSDKParam(
apiKey: apiKey,
siteId: siteId,
pushEnabled: pushEnabled,
url: baseUrl,
version: appVersion,
isSubscribed: isSubscribed,
);
}