From 1c6777e289d2890341838b6ab03ce484ccff5431 Mon Sep 17 00:00:00 2001 From: Tanmay Kumar Date: Mon, 2 Mar 2026 18:14:35 +0530 Subject: [PATCH] Update android.md --- docs/device-connect/android.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/device-connect/android.md b/docs/device-connect/android.md index a0186ff5..2e20de0a 100644 --- a/docs/device-connect/android.md +++ b/docs/device-connect/android.md @@ -183,7 +183,7 @@ The response (success or failure) is handled using the `FinBoxAuthCallback` call ```kotlin FinBox.createUser("CLIENT_API_KEY", "CUSTOMER_ID", - object : FinBox.FinBoxAuthCallback { + object : FinBoxAuthCallback { override fun onSuccess(accessToken: String) { // Authentication is success } @@ -199,7 +199,7 @@ FinBox.createUser("CLIENT_API_KEY", "CUSTOMER_ID", ```java FinBox.createUser("CLIENT_API_KEY", "CUSTOMER_ID", - new FinBox.FinBoxAuthCallback() { + new FinBoxAuthCallback() { @Override public void onSuccess(@NonNull String accessToken) { // Authentication is success @@ -225,8 +225,7 @@ The startPeriodicSync method should be invoked only after receiving a successful @@ -234,8 +233,7 @@ finbox.startPeriodicSync() @@ -289,7 +287,7 @@ Once the in-device values are set, call `setDeviceMatch` before starting the syn @@ -297,7 +295,7 @@ finbox.setDeviceMatch(deviceMatch) @@ -397,14 +395,14 @@ By default, the sync frequency is set to **8 hours**. You can customize this fre @@ -418,14 +416,14 @@ Make sure to cancel data synchronization tasks when the user logs out of the app