Getting the same error from MKTO, failed to initialize MarketoSDK 0.8.9 IOException
Closed this issue ยท 6 comments
Failed to initialize for the Android sdk, please support as soon as possible. As when i went through your customer support care. It won't even connect me to the support agent.
Hi @jason0404 , Could you provide the setup for this on React Native Android. The document is outdated and not really helpful.
I have investigated the issue with initializing the MarketoSDK in the RNMarketoModule.kt file and identified a mismatch in the function parameters of initializeSDK.
Issue Details:
Problem: The initializeSDK function has parameter mismatches which result in an IOException during SDK initialization.
Solution:
To resolve this issue, update the initializeSDK function in RNMarketoModule.kt as follows:
@ReactMethod
fun initializeSDK(munchkinId: String, appSecreteKey: String, frameworkType: String) {
marketoSdk.initializeSDK(frameworkType, munchkinId, appSecreteKey)
}
what are the frameworkType is there anyone listed out please
Hi @sandy1198
It is documented in the release and developer document, frameworkType is a parameter to capture the type of framework used for development. You can use,
native for - Native iOS or Android App
reactNative for ReactNative App
ionic for Ionic App
phonegap for PhoneGap App