line-sdk-ios-swift icon indicating copy to clipboard operation
line-sdk-ios-swift copied to clipboard

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

Open jime20029 opened this issue 1 year ago • 0 comments
trafficstars

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?

jime20029 avatar Jun 10 '24 03:06 jime20029