Skip to content

[BUG] 'Future' is from 'dart:async'. #29

@Kiruel

Description

@Kiruel

Hello,

After update to 7.2.3 got this problem:

 /Users/runner/.pub-cache/hosted/pub.dev/infobip_mobilemessaging-7.2.3/ios/Classes/Configuration.swift:121:42: warning: 'archivedData(withRootObject:)' was deprecated in iOS 12.0: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
            let data: Data = NSKeyedArchiver.archivedData(withRootObject: rawConfig)
                                             ^
    /Users/runner/.pub-cache/hosted/pub.dev/infobip_mobilemessaging-7.2.3/ios/Classes/Configuration.swift:130:34: warning: 'unarchiveObject(with:)' was deprecated in iOS 12.0: Use +unarchivedObjectOfClass:fromData:error: instead
            return NSKeyedUnarchiver.unarchiveObject(with: data) as? [String : AnyObject]
                                     ^
    warning: Flutter archive not built in Release mode. Ensure FLUTTER_BUILD_MODE is set to release or run "flutter build ios --release", then re-run Archive from Xcode.error: lib/data/source/infobip_sdk/infobip_sdk_manager.dart:19:30: Error: A value of type 'void' can't be returned from a function with return type 'Future<void>'.
     - 'Future' is from 'dart:async'.
          InfobipMobilemessaging.on(

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