Skip to content

[IOS] Static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'RNZohoSalesIQMobilisten' may have shared mutable state #124

@salmanafzal775

Description

@salmanafzal775

I have updated the library from 'react-native-zohosalesiq-mobilisten' to '@react-native-zohosalesiq/mobilisten-core @react-native-zohosalesiq/mobilisten' while building the app for IOS I was facing an error on building via xCode I am getting this error:

Static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'RNZohoSalesIQMobilisten' may have shared mutable state on public static let sharedInstance = RNZohoSalesIQMobilisten() this line which can be found in RNZohoSalesIQMobilisten.swift file.

I am using xCode 26.2 with Swift Apple Swift version 6.2.3

"@react-native-zohosalesiq/mobilisten": "^12.1.1",
"@react-native-zohosalesiq/mobilisten-core": "^0.0.1",
"react-native": "0.82.1",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions