I am working on one project and i integrate Sentry for generate crash report but in console of sentry does not get details of device version or OS name but in iOS it display.But why i don't know.It's supported in Android? Please Help me.
Asked
Active
Viewed 258 times
-1
-
Use Fabric it will provide you the full details about device https://stackoverflow.com/questions/49091581/android-crash-log-annotation/49091855#49091855 – Fazal Hussain Mar 13 '18 at 14:36
1 Answers
0
You need to pass in your application context via the AndroidSentryClientFactory
as described here: https://docs.sentry.io/clients/java/modules/android/
Context ctx = this.getApplicationContext();
Sentry.init(sentryDsn, new AndroidSentryClientFactory(ctx));

Brett
- 798
- 1
- 4
- 11