import*asee_xfrom'@senspark/ee';// Checks whether the specified application is installed.constapplicationId='com.senspark.ee.test';constisInstalled=ee_x.Platform.isApplicationInstalled(applicationId);// Attempts to open the specified application.constapplicationId='com.senspark.ee.test';ee_x.Platform.openApplication(applicationId);// Gets the current application information.constapplicationId=ee_x.Platform.getApplicationId();constapplicationName=ee_x.Platform.getApplicationName();constversinName=ee_x.Platform.getVersionName();constversionCode=ee_x.Platform.getVersionCode();// Gets the SHA1 signature (Android only).constsignature=ee_x.Platform.getSha1Signature();// Gets activity (Android) or view (iOS) size in pixels.const[width,height]=ee_x.Platform.getViewSize();// Gets the full screen size in pixels (including bars).const[width,height]=ee_x.Platform.getScreenSize();// Gets the unique ID for the current device.ee_x.Utils.noAwait(async()=>{constdeviceId=awaitee_x.Platform.getDeviceId();});// Composes and send an email.ee_x.Platform.sendMail("feedback@senspark.com","ee-x test app","Hello, ");// Checks the current internet connection.ee_x.Utils.noAwait(async()=>{constisAvailable=awaitee_x.Platform.testConnection("www.google.com",1.0);});