client1 = factory.client("user_id1");
client2 = factory.client("user_id2");
However, iOS and Android SDKs do not have this feature, how could it be implemented using those SDKs?
Since iOS and Android SDKs do not support initializing multiple client objects from the same factory object, the solution is to initialize a second factory object.
It is important to note the SDK factory object will create the local SDK cache folder and use the SDK API Key for naming convention. Its strongly recommended to use different SDK API Key for each factory object, to have each factory sync and update its own cache folder.
Checkout the example code for iOS using two factories.
Please sign in to leave a comment.