line-sdk-ios-swift
line-sdk-ios-swift copied to clipboard
Request for Support: Allow Multiple Setups for Different Channel IDs in One App
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?