|
@@ -148,6 +148,9 @@ public final class JPushContextHolder {
|
|
|
*/
|
|
|
public static JsonObject initializeAndroidChannel(@NonNull JPushProperties.Attribute attribute) {
|
|
|
JsonObject channel = new JsonObject();
|
|
|
+ if (StringUtils.notEmpty(attribute.getScene())) {
|
|
|
+ channel.addProperty("category", attribute.getScene());
|
|
|
+ }
|
|
|
if (StringUtils.notEmpty(attribute.getChannel())) {
|
|
|
channel.addProperty("channel_id", attribute.getChannel());
|
|
|
}
|