The iNethi app is a Reactive Native App with the purpose of bringing all iNethi services into one space.
The home page of the app populates with buttons for various services and divides them into sections based on the service's characteristics. This is dynamic. The buttons rendered and the locations they point to depend on whether the user has an Internet connection, whether the user is connected to an iNethi Community Network and what services are available if they are. The user cases are detailed below.
The user is connected to an iNethi network.
- API Call 1: This is a call to the locally hosted User management API requesting the available services offered by the local server.
- API Call 2: This is a call to the cloud-hosted User management API requesting the available services offered by the global server.
For any overlapping services, the local service will be given priority.
The user is connected to an external network.
- API Call 1: This is a call to the locally hosted User management API requesting the available services offered by the local server. This request will not be resolved.
- API Call 2: This is a call to the cloud-hosted User management API requesting the available services offered by the global server.
Given the local request did not resolve only the services offered globally will be listed.