EasyAnalytics
an easy to use android library to let devs know how much internet-data their app is consuming
Install / Use
/learn @droid-lover/EasyAnalyticsREADME
EasyAnalytics!
an easy to use android library to let developers know how much internet-data their app is consuming. We can identify this as we want based on :
- any Screen or Module.
- any event.
EasyAnalytics library gives us the power to easily add logging events anywhere we want to check here how much Internet is consumed.
<br/> To demo our EasyAnalytics lib we are using our old Code repo<a href="https://github.com/droid-lover/DaggerHiltApp"> News Sample App using HILT</a>Details explanation - https://medium.com/native-mobile-bits/easyanalytics-3a92799410c7

Gradle
Add this into your dependencies block.
implementation 'com.github.myJarvis:EasyAnalytics:0.0.3'
Wiki
General usage
Step1- register EasyAnanlytics inside your Application class.
@HiltAndroidApp
class NewsApp : Application() {
override fun onCreate() {
super.onCreate()
instance = this
//initialize EasyAnalytics
EasyAnalytics.register(this)
}
}
Step2- To get information about Internet data consumed in any screen inside your application.
Call EasyAnanlytics method like this -
EasyAnalytics.getAppUsageInfo(context,"getNews_API_call_success")
Params
- first parameter is just a context
- and second parameter is The screen name or any event name which happened when we want to track the internet consumption.
Step3- Want to see the captured internet data consumptions by EasyAnalytics in your app itself?
Call EasyAnanlytics method like this -
EasyAnalytics.showReports(context)
and that's it EasyAnalytics will open a beautiful Screen loaded with all analytics logged events for you, in your app itself without any hassle 😁
Demo (inital release)-

Demo (release v2)-
<img src="https://github.com/myJarvis/EasyAnalytics/blob/master/images/v2release.gif" width="400" height="600" />Upcoming features
- an exportable summarize report and more.
- an exportable summarize report and more.
Project SDK
compileSdkVersion 30
targetSdkVersion 30
<div align="center">
Bingo, thats all EasyAnalytics is ready to help you 😁, If you like this,</br></br>Show some ❤️ by starring⭐ this repo!
</div>About the author
<a href="https://www.youtube.com/channel/UCTjQSpx2waqXTC37AgM8qyA/videos"> Sachin Rajput</a>
I am a developer from India and I work with Android on daily basis and I love creating native Mobile apps which can help users and give a plesant experience :)<br/> I love contributing to Open Source community and I share my learnings and respective implementation on my Youtube Channel (Native Mobile Bits) and on Medium as well. </br></br> In :heart: with <img src="https://github.com/myJarvis/EasyAnalytics/blob/master/images/android.png" alt="Android" width=20 height=30> </br> Open source contributor.
Lets connect over here :)
