@@ -38,7 +38,7 @@ repositories {
3838
3939dependencies {
4040 ...
41- compile 'ch.freshbits.pathshare.sdk:pathshare-sdk:2.3.1 '
41+ compile 'ch.freshbits.pathshare.sdk:pathshare-sdk:2.3.2 '
4242}
4343```
4444
@@ -102,7 +102,7 @@ Pathshare.client().saveUser("Candice", "
[email protected] ", "+12345678901", UserType.
102102 }
103103
104104 @Override
105- public void onError () {
105+ public void onError (@NonNull Throwable throwable ) {
106106 // ...
107107 }
108108});
@@ -115,7 +115,7 @@ Pathshare.client().saveUser("SDK User Android", "
[email protected] ", "+12345678901",
115115 // ...
116116 }
117117
118- override fun onError () {
118+ override fun onError (throwable : Throwable ) {
119119 // ...
120120 }
121121})
@@ -265,7 +265,7 @@ session.inviteUser("Customer", UserType.CLIENT, "
[email protected] ", "+12345678
265265 Log .d(" URL" , url.toString()); // => https://m.pathsha.re/12s83a
266266 }
267267
268- public void onError() {
268+ public void onError(@NonNull Throwable throwable ) {
269269 // ...
270270 }
271271});
@@ -279,7 +279,7 @@ session.inviteUser("Customer", UserType.CLIENT, "
[email protected] ", "+12345678901
279279 Log .d(" URL" , url.toString()) // => https://m.pathsha.re/12s83a
280280 }
281281
282- override fun onError () {
282+ override fun onError (throwable : Throwable ) {
283283 // ...
284284 }
285285})
@@ -320,7 +320,7 @@ Pathshare.client().findSession(identifier, new SessionResponseListener() {
320320 }
321321
322322 @Override
323- public void onError() { ... }
323+ public void onError(@NonNull Throwable throwable ) { ... }
324324}
325325```
326326
@@ -331,6 +331,6 @@ Pathshare.client().findSession(identifier, object: SessionResponseListener {
331331 session.sessionExpirationListener = SessionExpirationListener { ... }
332332 }
333333
334- override fun onError() { ... }
334+ override fun onError(throwable: Throwable ) { ... }
335335})
336336```
0 commit comments