Skip to content

IAM with Push Permission Prompt continues to show after being subscribed #1218

@jfishman1

Description

@jfishman1

What happened?

IAM with Push Permission Prompt action continues to show after being subscribed. This shouldn't happen according to the dashboard when selecting that action it says:

Entire In-App Message will not be shown to users who have already allowed notifications
If user has previously denied permission in the native prompt, this will open your app’s device settings
Must use Android SDK 4.8.0+ to reach Android 13+ users

Steps to reproduce?

1. Create an In-App Message (IAM) with the "Push Permission Prompt" action.
My trigger is set to "On app open"
I selected "Every time trigger conditions are satisfied"
2. Set it live.
3. Run the app on a device that is not subscribed to push notifications.
4. The IAM will trigger (correctly).
5. Subscribe to push.
6. Put the app into the background for 30+ seconds.
7. Open the app again and the IAM will appear again.

What did you expect to happen?

The IAM should not have appeared on devices that are subscribed to push.

OneSignal iOS SDK version

alpha02

iOS version

15

Specific iOS version

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions