microsoft / ApplicationInsights-Android

Microsoft Application Insights SDK for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set role name in Android app ?

asifbanaraszenith opened this issue · comments

I can't find a way to identify a specific role name for my Android Application. Below is my personal view of how it should work but it didn't worked for me.

`

    <meta-data
        android:name="com.microsoft.applicationinsights.instrumentationKey"
        android:value="03998c1e-14c5-45e8-a305-2c07f25d5d16" />
    <meta-data
        android:name="com.microsoft.applicationinsights.roleName"
        android:value="AndroidApp" />

... Some code goes here ...

`

Is this a right way to set the role name or is there any other way to do that ?