SDK 12.0 Migration Guide for iOS

Guide for migrating to Instabug's SDK version 12.0 on iOS

With the release of version 12.0.0, a whole host of new products have been released such as, Session Replay, App Ratings, and Rollout Management. Along with this release, a few APIs have been changed to better suit these new features and in order to improve the usage of these APIs.

ClassDeprecated APICorresponding API
IBGAPMlogLevelInstabug.sdkDebugLogsLevel
IBGAPMappLaunchEnabledIBGAPM.coldAppLaunchEnabled
IBGCrashReporting(void)reportError:(NSError _)error withGroupingString:(NSString _)groupingStringRefer to the API here.
IBGCrashReporting(void)reportException:(NSException _)exception withGroupingString:(NSString _)groupingStringRefer to the API here.
IBGCrashReporting(void)reportError:(NSError _)error withUserAttributes:(NSDictionary \<NSString _, NSString _>_)userAttributesRefer to the API here.
IBGCrashReporting(void)reportException:(NSException _)exception withUserAttributes:(NSDictionary \<NSString _, NSString _>_)userAttributesRefer to the API here.
IBGCrashReporting(void)reportError:(NSError \*)errorRefer to the API here.
IBGCrashReporting(void)reportException:(NSException \*)exceptionRefer to the API here.
IBGNetworkLogger(void)setCanAuthenticateAgainstProtectionSpaceHandler:(BOOL(^\_Nonnull)(NSURLProtectionSpace \* \_Nonnull protectionSpace))protectionSpaceHandler[NSURLSessionTaskDelegate URLSession:task:didReceiveChallenge:completionHandler:]
IBGNetworkLogger(void)setDidReceiveAuthenticationChallengeHandler:(NSURLCredential\_ _Nullable (^\_Nonnull)(NSURLAuthenticationChallenge _ \_Nonnull challenge))receiveChallengeHandler[NSURLSessionTaskDelegate URLSession:task:didReceiveChallenge:completionHandler:]
IBGTypeskIBGInvalidCommentMessageStringNamekIBGInsufficientContentTitleStringName
IBGTypeskIBGInvalidCommentTitleStringNamekIBGInsufficientContentMessageStringName
IBGTypeskIBGFeatureRequestsPromptNameRemoved.
IBGTypesIBGBugReportingInvocationOptionIBGBugReportingOption