CleverTap / clevertap-flutter

CleverTap Flutter SDK
Other
30 stars 43 forks source link

issue in IOS while initializing in main function. #240

Closed pankajunivest1 closed 1 month ago

pankajunivest1 commented 4 months ago

The 'clevertap_plugin/native_to_dart' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.

shivamsharma2710 commented 4 months ago

Hi @pankajunivest1,

Thank you for reporting this issue. To help us investigate further, could you please provide the following details:

  1. Which CleverTap Plugin version are you facing this issue with?
  2. What code of the Plugin are you using in the main function?
  3. Are you getting any PlatformException from the Plugin, if not then please specify what issue you're facing with iOS?
pankajunivest1 commented 4 months ago
  1. currently using latest version : clevertap_plugin: ^2.4.0
  2. CleverTapPlugin.createNotificationChannelWithSound();CleverTapPlugin. registerForPush().then((value) {});CleverTapPlugin.enablePersonalization() ;
  3. currently i facing this error (The 'clevertap_plugin/native_to_dart' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.) this is crashing my ios build in android it is working very fine

On Tue, 28 May 2024 at 15:52, Shivam Sharma @.***> wrote:

Hi @pankajunivest1 https://github.com/pankajunivest1,

Thank you for reporting this issue. To help us investigate further, could you please provide the following details:

  1. Which CleverTap Plugin version are you facing this issue with?
  2. What code of the Plugin are you using in the main function?
  3. Are you getting any PlatformException from the Plugin, if not then please specify what issue you're facing with iOS?

— Reply to this email directly, view it on GitHub https://github.com/CleverTap/clevertap-flutter/issues/240#issuecomment-2134864840, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH3MLTMMXU2HOR4EQOTZ6GDZERLHXAVCNFSM6AAAAABIMSWFA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZUHA3DIOBUGA . You are receiving this because you were mentioned.Message ID: @.***>

nishant-clevertap commented 4 months ago

Hi @pankajunivest1, Thanks for reporting the issue, we are working on this. We will update you when new version will be released with the fix.

pankajunivest1 commented 4 months ago

sure, we are eagerly waiting for this update.

On Wed, 29 May 2024 at 12:31, nishant-clevertap @.***> wrote:

Hi @pankajunivest1 https://github.com/pankajunivest1, Thanks for reporting the issue, we are working on this. We will update you when new version will be released with the fix.

— Reply to this email directly, view it on GitHub https://github.com/CleverTap/clevertap-flutter/issues/240#issuecomment-2136679005, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH3MLTIC2XDB3G3ML4RGUOLZEV4K5AVCNFSM6AAAAABIMSWFA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGY3TSMBQGU . You are receiving this because you were mentioned.Message ID: @.***>

abhinand-kv commented 4 months ago

Any update on this

dhanasonmo commented 3 months ago

any update on this?

amol-d commented 3 months ago

Any update on this?

nishant-clevertap commented 1 month ago

The fix for this has been released on our latest v2.4.1. Please update to our latest version: https://github.com/CleverTap/clevertap-flutter/releases/tag/2.4.1