Open shubh-SB opened 1 year ago
Hi @shubh-SB, We are currently investigating this, meanwhile can you share a demo project where you are are getting this crash if possible.
Hi any update on this?
@nishant-clevertap I am not able to replicate this crash in my environment. It is occurring to customers in production. Our app's AppDelegate.swift file is as follows: ` import UIKit import Flutter import Firebase import GoogleMaps import CleverTapSDK import clevertap_plugin import AppsFlyerLib
@UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool {
FirebaseApp.configure() //add this before the code GeneratedPluginRegistrant.register(with: self) GeneratedPluginRegistrant.register(with: self)
GMSServices.provideAPIKey("XXXX-XXXXX")
CleverTap.autoIntegrate() CleverTapPlugin.sharedInstance()?.applicationDidLaunch(options: launchOptions)
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
} `
Hi @shubh-SB We are unable to reproduce this at our end. Also I have found similar crash on flutter Github: https://github.com/flutter/flutter/issues/90781 where it is also not resolved due to lack of additional information.
However we can look into this further if we get more detailed log messages after Fatal Exception: NSInternalInconsistencyException
which will describe the actual reason like mentioned here: https://github.com/flutter/flutter/issues/66647
Can you provide steps to reproduce it with debug enabled console logs, or extra detailed log message for this crash if possible? Thanks.
Hi, our iOS App is crashing on just opening the app. Firebase is letting us know that it originates from CleverTapPlugin.m file. Attaching the necessary info below.
StackTrace
flutter Clevertap plugin version:
1.5.2
iOS Version affected:
14 and 15
Steps to reproduce:
I don't have it at the moment. It is happening in production with some customers.
Please look into this Issue. Thanks