Skip to content

CustomActionHandler nor UrlHandler callbacks are getting called in In-App messages #1045

@saintjab

Description

@saintjab

✍️ Issue Description

We had some custom actions attached to our In-App Messages buttons/images which used to work fine. I am not sure when it stopped getting called but just recently the complex ones are not longer hitting neither our custom IterableUrlHandler nor custom IterableCustomActionHandler callbacks.

📋 Steps to Reproduce

  1. Create an In-App Message template with button which has a url using the "Open Web page" action to something like myaction://GOTO_INAPP_BROWSER::https://www.bbc.co.uk/sport/boxing/articles/c1eq4g8w8gyo. I already have set "myaction" as one of the an allowedProtocols when initialising IterableAPI
  2. Open the In-App Message from above that has been sent and tap the image/button with the url above
  3. Either IterableUrlHandler or IterableCustomActionHandler implementation class should get called

I have logs inside both my custom IterableUrlHandler and IterableCustomActionHandler callbacks so should print if any was called. Instead, none get called but the default browser on device get launched with default/blank page showing

What works:
The simple url like myaction://GOTO_INAPP_BROWSER is working but not a complex one like above although it used to work. Aside the potential Iterable version bump, I have not made any changes to Iterable implementation in the app. Also I believe In-App Message used to have "Custom Action" tab for buttons/images like the Push notifications but just not 100% sure there have been changes there.

📦 Iterable SDK version: 3.6.5. Also tried the 3.7.0

📲 Android OS version: All versions we support from Android SDK 28

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions