You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order for our customers to use the SDK, they must give us some information in order for us to be able to send data to their CIO workspace. This task is to get this information and save it on the device. With this task, we are going to cater the authentication process along with the storage of authentication token, also create an interface for the customer to interact and configure the SDK accordingly.
Why are we doing this for our customers?
This task is required for our customers to use the SDK. The SDK cannot do any work successfully without this task.
How do we test that this change is successful?
Not much to test here. If future tasks such as identify a customer works after this task, we have tested it successfully.
How are we building this?
Create a public interfacing class, ideally singleton to configure the SDK with the required options.
CIO.configure(siteId:String, apiKey:String)
Save the siteId and apiKey to shared preferences to be reused and add the region entity to be configured.
Create a queue task to test credentials valid. In development mode, throw an IllegalArgumentException(). If not in development, ignore the request so no siteid or apikey get saved.
Create a queue task to find account region. Once response comes back from that, save the country code.
The text was updated successfully, but these errors were encountered:
In order for our customers to use the SDK, they must give us some information in order for us to be able to send data to their CIO workspace. This task is to get this information and save it on the device. With this task, we are going to cater the authentication process along with the storage of
authentication token
, also create an interface for the customer to interact and configure the SDK accordingly.Why are we doing this for our customers?
This task is required for our customers to use the SDK. The SDK cannot do any work successfully without this task.
How do we test that this change is successful?
Not much to test here. If future tasks such as identify a customer works after this task, we have tested it successfully.
How are we building this?
Save the
siteId
andapiKey
to shared preferences to be reused and add theregion
entity to be configured.Create a queue task to test credentials valid. In development mode, throw an
IllegalArgumentException()
. If not in development, ignore the request so no siteid or apikey get saved.Create a queue task to find account region. Once response comes back from that, save the country code.
The text was updated successfully, but these errors were encountered: