Skip to content

Commit 1953a8b

Browse files
Merge pull request #43 from degorov/patch-1
Loop notification sound
2 parents c967316 + dfe20d8 commit 1953a8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

android/src/main/java/com/reactnativefullscreennotificationincomingcall/IncomingCallService.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ private Notification buildNotification(Context context, Intent intent) {
161161
if(timeoutNumber > 0){
162162
setTimeOutEndCall(uuid);
163163
}
164-
return notificationBuilder.build();
164+
Notification notification = notificationBuilder.build();
165+
notification.flags |= Notification.FLAG_INSISTENT;
166+
return notification;
165167
}
166168

167169
@Override

0 commit comments

Comments
 (0)