[Aerogear-users] Android sound and vibrate

Erik Jan de Wit edewit at redhat.com
Mon Jan 11 03:12:32 EST 2016


So all includes vibration, well in that case you could try and see if
changing this line[1] to 'Notification.DEFAULT_LIGHTS'

[1]
https://github.com/aerogear/aerogear-cordova-push/blob/acb7b6b33d636ed5462a7d7ca7d3c09ec81e5575/src/android/org/jboss/aerogear/cordova/push/NotificationMessageHandler.java#L87

On Fri, Jan 8, 2016 at 3:30 PM, eugeneb <eug.bab at gmail.com> wrote:

> Thank you Erik for your quick answer.
> Based on
>
> http://stackoverflow.com/questions/7655164/android-notification-sound-disable
> I see it can be done on plugin level.
> For Ios devices I can control sound from the backend. In Android so far I
> see I can only provide custom sound file in payload
> https://developers.google.com/cloud-messaging/http-server-ref, and still
> it
> doesn't have vibrate control. So even if I provide quite sound file I can't
> disable vibrate.
> Latest Android OS doesn't provide notification sound/vibrate control on app
> level.
> Still looking for right solution. Any other ideas?
>
>
>
> --
> View this message in context:
> http://aerogear-users.1116366.n5.nabble.com/Android-sound-and-vibrate-tp403p412.html
> Sent from the aerogear-users mailing list archive at Nabble.com.
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>



-- 
Cheers,
       Erik Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160111/403444b5/attachment.html 


More information about the Aerogear-users mailing list