• Don Peter

Finotes SDK version 4.0.0 for Android released

Just like our previous versions all it takes for developers to integrate the latest version of Finotes is to add it as a Gradle dependency to the project.


We have 3 new features in this version.


1. Configure tracking of screen load delays


Currently, if any app activity takes more than 6 seconds to load, it is reported to Finotes dashboard immediately with relevant data points to fix the issue.


In our latest version, we have added the ability to set custom time to track screen loading delays using screenLoadDelayInSeconds key in @Observe annotation. Once set, if any of the Activities in the application takes more than the specified amount of time to load, it will be reported as a bug.


Java Code Snippet


@Observe(screenLoadDelayInSeconds = 3)
public class BlogApp extends Application {
        @Override
        public void onCreate() {
                super.onCreate();        
                Fn.init(this);
        }
}


Kotlin Code Snippet


@Observe(screenLoadDelayInSeconds = 3)
class BlogApp: Application() {
    override fun onCreate() {
        super.onCreate()
        Fn.init(this)
    }
}


2. Ability to track finer UI thread blocks and ANR bugs


Using ANRThresholdInMilliseconds key in @Observe annotation developers can now set a custom time in milliseconds. The value should be in the range of 500 to 5000. If the UI/ Main thread of the debug mode application gets blocked for more than the set amount of time, an issue report will be raised. This will enable developers to fix even finer UI thread blocks which could lead to ANR issues.


Java Code Snippet


@Observe(ANRThresholdInMilliseconds = 1000)
public class BlogApp extends Application {
        @Override
        public void onCreate() {
                super.onCreate();        
                Fn.init(this);
        }
}


Kotlin Code Snippet


@Observe(ANRThresholdInMilliseconds = 1000)
class BlogApp: Application() {
    override fun onCreate() {
        super.onCreate()
        Fn.init(this)
    }
}


3. Included both version name and version code in issue reports


In this version, we have added both application version name and application version code to be tagged along with each issue report. This will provide developers better clarity on the version of the app from which issues are reported by Finotes.


Please let us know your thoughts on these features.


Visit Finotes.com to sign up, if you have not already. Visit docs.finotes.com to explore the documentation.