Skip to content

Nullability Warnings #17

@aleos

Description

@aleos

Issue Description

When building my project with the Agora Chat SDK integrated, I'm receiving numerous nullability warnings such as:

Warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
@Property (nonatomic, copy, readonly) NSString *conversationId;

These warnings appear throughout the SDK headers and significantly clutter the build output, making it difficult to identify actual issues in my own code.

Expected Behavior

The SDK's public headers should include proper nullability annotations to comply with modern Objective-C and Swift interoperability standards.

Environment

  • Xcode Version: 16.2
  • Agora Chat SDK Version: 1.3.1
  • Installation Method: SPM

Question

Is there a timeline for adding nullability specifiers to the SDK's public interfaces to eliminate these warnings and improve Swift interoperability?

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