top of page

Mobile Network

The Mobile Network plugin is specifically designed to implement native mobile network information features through the Android SDK and iOS SDK in both Android and iOS, for games built using Construct 3.


The Mobile Network plugin is accurate and precise in detecting network connectivity and its network type. This is through calling the native Android SDK and iOS SDK in determining the network connection and information.


The Mobile Network plugin implements accurate and precise retrieval of the current mobile device's network information.

PlayFab API v2.png

Introduction

Step 1.png

The Construct Master Collection supports the full and easy integration of native mobile Android SDKs and iOS SDKs for both Construct 3 and Construct 2.


Please click here to learn more about Mobile.

Features


The Mobile Network plugin is specifically designed to implement native mobile network information features through the Android SDK and iOS SDK in both Android and iOS, for games built using Construct 3.


The Mobile Network plugin is accurate and precise in detecting network connectivity and its network type. This is through calling the native Android SDK and iOS SDK in determining the network connection and information.


The Mobile Network plugin implements accurate and precise retrieval of the current mobile device's network information.


Here are some of the native features of the mobile plugin:

  • Android Networking SDK

  • iOS Networking SDK

  • Network connection detection features.

    • Is device online

    • Is device offline

  • Connectivity type

  • Connection listeners

    • The plugin immediately notifies when the connection is established, lost or restored.

  • Native network information retrieval features using the Android SDK and iOS SDK.

    • Due to an old Webview bug and limitation of Web APIs. The use of Web APIs for checking if the application is online or not is inconsistent and provided network information is inaccurate. Therefore, it is recommended to use the native Android SDK and native iOS SDK in retrieving network information, hence the Mobile Network plugin was created.


For more information about native mobile or Android and iOS features, please click here to learn the introductory lessons to Mobile.


Platform Integration


Here are some of the platforms that are natively supported:

  • Android

  • iOS

  • Native Android

  • Native iOS


Build Support


Here are some of the supported build options:


Editor Features


Here are some of the features in the Construct editor:

  • Construct 3

Introduction
Features

How to use?

It is easy to use the Mobile Network plugin, you will only need to follow the steps below.

1. The first step is to add the Mobile Network object into the project.


Instructions
Documentation

Documentation

There is currently nothing to show, we will add more in the future.

ACEs

Actions, Conditions & Expressions

Actions


Conditions

The following condition groups:

  • General

  • Tools

  • Connection

General

  • On Offline - Trigger fires when a previously connected device loses a network connection so that an application can no longer access the Internet.

  • On Online - Trigger fires when a previously unconnected device receives a network connection to allow an application access to the Internet.



Tools

  • Is Online - Check if the application has internet connection.

Connection

  • Is Connection Type - A fast way to determine the device's network connection state, and type of connection.

    • Type - Either 'Unknown', 'Ethernet', 'WiFi', 'Cell 2G', 'Cell 3G', 'Cell 4G', 'Cell Generic' or 'No connection'.

      • UNKNOWN - ​Unknown connection.

      • ETHERNET - Ethernet connection.

      • WIFI - WiFi connection.

      • CELL 2G - Cell 2G connection.

      • CELL 3G - Cell 3G connection.

      • CELL 4G - Cell 4G connection.

      • CELL - Cell generic connection.

      • NONE - No network connection.

Expressions


Object   Properties

Plugin Properties

The following property groups:

  • Configuration

Configuration - The options to set the plugin settings.

  • Debug - If checked, the runtime will log runtime notifications. This should be unchecked on production builds.


Properties
Showcase

Showcase

The Mobile Network has a sample project and a sample application you can try in the plugin package.



For mobile devices, it is recommended to replace the Browser object with the Mobile Browser to implement native mobile browser features and prevent Web API limitations. It is also recommended to replace the Browser object with the Mobile Network plugin to implement native mobile network information features for accurate and precise retrieval of network information, especially due to an old Webview bug and limitation of Web APIs that is still not fixed.



For more information, click to visit the bug issue report in the tracking page.

Game Projects

Game Projects 

Instructions Kit

Specifications

  • Instructions - The game project contains instructions and steps on how to use the addon and its features.

  • Action, Conditions and Expressions - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks on the recommended ways of using the addon.

Supporters

Only

bottom of page