Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public static void initialize(@NonNull Context context, @NonNull String apiKey,

if (sharedInstance.inAppManager == null) {
sharedInstance.inAppManager = new IterableInAppManager(sharedInstance, sharedInstance.config.inAppHandler,
sharedInstance.config.inAppDisplayInterval, config.allowedProtocols);
sharedInstance.config.inAppDisplayInterval, sharedInstance.config.allowedProtocols);
}

loadLastSavedConfiguration(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void createNotificationActionButton(Context context, IterableNotification
buttonIntent.putExtra(IterableConstants.ACTION_IDENTIFIER, button.identifier);

PendingIntent pendingButtonIntent = PendingIntent.getBroadcast(context, buttonIntent.hashCode(),
buttonIntent, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
buttonIntent, PendingIntent.FLAG_UPDATE_CURRENT);

NotificationCompat.Action.Builder actionBuilder = new NotificationCompat.Action
.Builder(NotificationCompat.BADGE_ICON_NONE, button.title, pendingButtonIntent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public IterableNotificationBuilder createNotification(Context context, Bundle ex
}

PendingIntent notificationClickedIntent = PendingIntent.getBroadcast(context, notificationBuilder.requestCode,
pushContentIntent, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
pushContentIntent, PendingIntent.FLAG_UPDATE_CURRENT);

notificationBuilder.setContentIntent(notificationClickedIntent);
notificationBuilder.setIsGhostPush(isGhostPush(extras));
Expand Down