Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jime20029 opened this issue Jun 10, 2024 · 0 comments

Comments

@jime20029
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant