android - FCM Cloud Messaging SDK no Vibrate -
when phone on silent mode, notification vibrate working well. when not on silent mode, sound working vibration isn't working. want vibrate when on silent mode or not on silent mode
i test fcm sdk v10.2.0 until v11.2.0
i use "notification" , "data" payload
notificationcompat.builder builder = new notificationcompat.builder(context).setwhen(system.currenttimemillis()); //vibrate builder.setvibrate(new long[] { 1000, 1000, 1000, 1000, 1000 }); //light builder.setlights(color.red, 3000, 3000);
Comments
Post a Comment