Skip to content

iOS app link handling issue while app is in running state (when app is launched with a link) #34

@arreshashikant

Description

@arreshashikant

Steps to reproduce:
singular_flutter_sdk: ^1.0.15

  1. Launch iOS app from terminated state with a link (singularLinksHandler is invoked, No issues)
  2. Now, click on the link from any other app (app is in running state). The callback singularLinksHandler is NOT invoked

This is because of the following code in iOS

if ([SingularAppDelegate shared].launchOptions != nil) {
        config.launchOptions = [SingularAppDelegate shared].launchOptions;
    } else if ([SingularAppDelegate shared].userActivity != nil) {
        config.userActivity = [SingularAppDelegate shared].userActivity;
    } else if ([SingularAppDelegate shared].openURL != nil) {
        config.openUrl = [SingularAppDelegate shared].openURL;
    } else {
        NSLog(@"everything is null");
    }

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