Commit b2a2aa8 Josh Holtz
committed
File tree 1 file changed +11
-0
lines changed
sentry-android/src/main/java/com/joshdholtz/sentry
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -671,6 +671,7 @@ public static enum SentryEventLevel {
671
671
public SentryEventBuilder () {
672
672
event = new HashMap <String , Object >();
673
673
event .put ("event_id" , UUID .randomUUID ().toString ().replace ("-" , "" ));
674
+ event .put ("platform" , "java" );
674
675
this .setTimestamp (System .currentTimeMillis ());
675
676
}
676
677
@@ -790,6 +791,16 @@ public SentryEventBuilder setServerName(String serverName) {
790
791
event .put ("server_name" , serverName );
791
792
return this ;
792
793
}
794
+
795
+ /**
796
+ *
797
+ * @param release Release
798
+ * @return SentryEventBuilder
799
+ */
800
+ public SentryEventBuilder setRelease (String release ) {
801
+ event .put ("release" , release );
802
+ return this ;
803
+ }
793
804
794
805
/**
795
806
*
You can’t perform that action at this time.
0 commit comments