top of page

Finotes SDK version 4.0.0 for Android released

Writer's picture: Don PeterDon Peter

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.


Comments


Blog for Mobile App Developers, Testers and App Owners

 

This blog is from Finotes Team. Finotes is a lightweight mobile APM and bug detection tool for iOS and Android apps.

In this blog we talk about iOS and Android app development technologies, languages and frameworks like Java, Kotlin, Swift, Objective-C, Dart and Flutter that are used to build mobile apps. Read articles from Finotes team about good programming and software engineering practices, testing and QA practices, performance issues and bugs, concepts and techniques. 

Monitor & Improve Performance of your Mobile App

 

Detect memory leaks, abnormal memory usages, crashes, API / Network call issues, frame rate issues, ANR, App Hangs, Exceptions and Errors, and much more.

Explore Finotes

bottom of page