Skip to content

Request for Support: Allow Multiple Setups for Different Channel IDs in One App #211

@jime20029

Description

@jime20029

I want to do multiple setups to use two different channel IDs in one app.
However, for example, if I do a setup for channel A and then try to do a setup for channel B, the setup process fails due to the following guard.
https://github.com/line/line-sdk-ios-swift/blob/master/LineSDK/LineSDK/Login/LoginManager.swift#L85-L88

guard !setup else {
    Log.assertionFailure("Trying to set configuration multiple times is not permitted.")
    return
}

Can you please remove this guard to achieve what I want to do? Or, if it is possible to achieve what I want to do in another way, could you please let me know?

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