@@ -65,7 +65,7 @@ You can add the dependency in your application by modifying the application `bui
6565and add:
6666```
6767dependencies {
68- implementation 'com.github.activelook:android-sdk:v4.5.2 '
68+ implementation 'com.github.activelook:android-sdk:v4.5.4 '
6969}
7070```
7171
@@ -103,7 +103,6 @@ import com.activelook.activelooksdk.types.Rotation;
103103 Log . e(" SDK" , " Init" );
104104 Sdk . init(
105105 MainActivity . this ,
106- " your-sdk-token-provided-by-microoled" ,
107106 gu - > Log . d(" GLASSES_UPDATE" , String . format(" onUpdateStart : %s" , gu)),
108107 gu_f - > {
109108 Log . d(" GLASSES_UPDATE" , String . format(" onUpdateAvailableCallback : %s" , gu_f. first));
@@ -153,7 +152,6 @@ Note: BlueTooth will not work on the android simulator. A physical device should
153152### Initialization
154153
155154To start using the SDK, first import and initialize the sdk.
156- You will need a token provided by Microoled to authenticate with the update server.
157155Five callbacks ` onUpdateStart ` , ` onUpdateAvailableCallback ` , ` onUpdateProgress ` , ` onUpdateSuccess ` , ` onUpdateError `
158156must be provided to handle glasses update events.
159157Read the javadoc for more inforamtions.
@@ -174,7 +172,6 @@ public class DemoApp extends Application {
174172 super . onCreate();
175173 this . alsdk = Sdk . init(
176174 this . getApplicationContext(),
177- " MyPrivateToken" ,
178175 (update) - > Log . i(" GLASSES_UPDATE" , " Starting glasses update." ),
179176 (update) - > { Log . i(" GLASSES_UPDATE" , " A glasses update is available." ); return true ; },
180177 (update) - > Log . i(" GLASSES_UPDATE" , " Progressing glasses update." ),
0 commit comments