Skip to content

[Bug]: Carousel templates are not working correctly #22

@iAmWillShepherd

Description

@iAmWillShepherd

What happened?

This was originally reported by @kalley on Slack.

There seems to be an issue with the OneSignalExample iOS app when it comes to In-App Messages. When I log in, I see (using Charles Proxy) 6 in_app_messages in the on_session payload. One displays. After I interact with that, the HTML for the next one gets requested, but it does not get displayed. Also, I can no longer interact with the app until I force close it. Additional details in thread

The first one that does display is: https://app.onesignal.com/apps/3beb3078-e0f1-4629-af17-fde833b9f716/in_app_messages/ef8c238a-ffac-44b8-b90a-552d481819e7. The one that gets downloaded but does not is https://app.onesignal.com/apps/3beb3078-e0f1-4629-af17-fde833b9f716/in_app_messages/cf0b1240-48a6-4040-9a9c-00c8f0cc086f.

This user has no tags, no external user id. Was a brand new user.

Steps to reproduce?

1. See Slack for reproduction steps

What did you expect to happen?

The app doesn't hang, and it displays the correct message.

Relevant log output

{
	"success": true,
	"id": "439018a0-5bc0-437b-b442-b3c559ac1538",
	"in_app_messages": [{
		"id": "ef8c238a-ffac-44b8-b90a-552d481819e7",
		"triggers": [],
		"variants": {
			"all": {
				"default": "d25bc82d-d6b9-4b1f-baf6-d28e8d8a37ff"
			}
		},
		"end_time": null,
		"redisplay": {
			"delay": 0,
			"limit": 2147483647
		}
	}, {
		"id": "cf0b1240-48a6-4040-9a9c-00c8f0cc086f",
		"triggers": [],
		"variants": {
			"all": {
				"default": "8e10b10d-8124-4772-85b3-baa5855981a9"
			}
		},
		"end_time": null,
		"redisplay": {
			"delay": 0,
			"limit": 2147483647
		}
	}, {
		"id": "c06c4d82-d865-44fb-a0bb-5ec93728bb57",
		"triggers": [],
		"variants": {
			"all": {
				"default": "80713253-2943-4728-9ebd-595ba761c32c"
			}
		},
		"end_time": null,
		"redisplay": {
			"delay": 0,
			"limit": 2147483647
		}
	}, {
		"id": "bec3ae28-7afd-4781-a23c-3bded5adc4a9",
		"triggers": [],
		"variants": {
			"all": {
				"default": "10ef7cd7-a715-4f71-83e9-f58255f238b7"
			}
		},
		"end_time": null,
		"redisplay": {
			"delay": 0,
			"limit": 2147483647
		}
	}, {
		"id": "3cee17e6-b8e6-4f2c-bd5e-7e622e60408b",
		"triggers": [],
		"variants": {
			"all": {
				"default": "95608cfd-27db-4ad8-a818-8fb70a8b9a2c"
			}
		},
		"end_time": null,
		"redisplay": {
			"delay": 0,
			"limit": 2147483647
		}
	}, {
		"id": "1deb03ba-49d0-4700-b6d7-c774221daac8",
		"triggers": [],
		"variants": {
			"all": {
				"default": "ae4b613b-c446-4b2c-9c38-c68449f02f69"
			}
		},
		"end_time": null,
		"redisplay": {
			"delay": 0,
			"limit": 2147483647
		}
	}]
}

Code of Conduct

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions