Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to make notifications vibrate phone react native expo

if (Platform.OS === 'android') {
Notifications.setNotificationChannelAsync('default', {
  name: 'default',
  importance: Notifications.AndroidImportance.MAX,
  vibrationPattern: [0, 250, 250, 250],
  lightColor: '#FF231F7C',
});
 
PREVIOUS NEXT
Tagged: #How #notifications #vibrate #phone #react #native #expo
ADD COMMENT
Topic
Name
8+7 =