diff --git a/CHANGELOG b/CHANGELOG index 9f1f7f6..e4bf441 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +0.4.2 +===== +* UI for step disconnecting from softAP + 0.4.1 ===== * Device naming at the end of setup diff --git a/devicesetup/build.gradle b/devicesetup/build.gradle index ae9c9bd..564aeb6 100644 --- a/devicesetup/build.gradle +++ b/devicesetup/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' apply plugin: 'me.tatarka.retrolambda' // This is the library version used when deploying the artifact -version = '0.4.1' +version = '0.4.2' ext { bintrayRepo = 'android' diff --git a/devicesetup/src/main/java/io/particle/android/sdk/devicesetup/ui/ConnectingActivity.java b/devicesetup/src/main/java/io/particle/android/sdk/devicesetup/ui/ConnectingActivity.java index c07a9ee..62a24ff 100644 --- a/devicesetup/src/main/java/io/particle/android/sdk/devicesetup/ui/ConnectingActivity.java +++ b/devicesetup/src/main/java/io/particle/android/sdk/devicesetup/ui/ConnectingActivity.java @@ -194,7 +194,7 @@ private List buildSteps() { StepConfig.newBuilder() .setMaxAttempts(MAX_RETRIES_DISCONNECT_FROM_DEVICE) .setResultCode(SuccessActivity.RESULT_FAILURE_NO_DISCONNECT) - .setStepId(R.id.connect_to_wifi_network) + .setStepId(R.id.reconnect_to_wifi_network) .build(), deviceSoftApSsid, this); diff --git a/devicesetup/src/main/res/layout/activity_connecting.xml b/devicesetup/src/main/res/layout/activity_connecting.xml index 568de36..d0218f7 100644 --- a/devicesetup/src/main/res/layout/activity_connecting.xml +++ b/devicesetup/src/main/res/layout/activity_connecting.xml @@ -152,6 +152,43 @@ + + + + + + + + + (No Wi-Fi networks found) Checking for internet connectivity Connecting to Wi-Fi network + Disconnecting from softAP Configuring device Wi-Fi credentials Waiting for device cloud connection Verifying product ownership