A mobile application may want to access technical information about the Wi-Fi network the user is connected to. For example, by learning the network name (SSID), signal strength, or IP address, it is possible to provide the user with information about connection quality or to record this data for use in technical support scenarios.
The “Get Wifi Network Info” action only works if the user's device is connected to a Wi-Fi network and returns information about that network.
Adding the Get Wi-Fi Connection Information Action
Log in to the Kuika platform.
Open your mobile project from the Apps screen or create a new mobile application.
- Drag and drop a Button element from the Elements panel on the left side.
- In the Properties panel on the right side, enter a phrase such as “Check Connection” in the Label section of the button.
- Select the button and add the OnClick → Device → Get Wifi Network Info action from the + ADD ACTION menu.
- Save the action configuration.
Wifi Connection Information Evaluation and User-Oriented Actions
- Obtaining Connection Information: When the button is clicked, the Get Wifi Network Info action is triggered and information about the device's connection status is obtained.
- Wifi Connection Status: The action result returns whether the device is connected to Wifi via the On Wifi parameter.
- If True, the application can start processes that require high bandwidth (e.g., video playback, file download).
- If False, i.e., mobile data is being used, the application can offer the user a data saving mode or limit heavy processes.
- SSID Information Usage: The SSID information of the WiFi network to which the user is connected is obtained, and content and permissions specific to corporate or private networks can be enabled. For example, extra permissions can be granted if the user is connected to the company network.