Skip to content

FIAM in-app message not working with event that has number type parameter. #14881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
master11360 opened this issue May 22, 2025 · 4 comments
Open
Labels
api: inappmessaging Firebase In App Messaging needs-info

Comments

@master11360
Copy link

Description

I create a campaign with target audience. The audience is set to "pageScrolled" event with an integer parameter "cellNo" >= 8.
I just keep triggering "pageScrolled" with "cellNo" > 8 but in-app message never show.

But when I create a campaign with audience that set to "pageScrolled" event with a string parameter "page" = "searchAll", it works well.

I just don't know what's going on here. Is there anything wrong with audience that set to some event with some number type parameter?

Reproducing the issue

  1. Create an audience that set to some event with some number type parameter.
  2. Create a campaign and set target to the audience.
  3. Try to trigger in-app message.

Firebase SDK Version

10.22.1

Xcode Version

16.3

Installation Method

Swift Package Manager

Firebase Product(s)

In-App Messaging

Targeted Platforms

iOS

Relevant Log Output

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
@master11360 master11360 changed the title FIAM in-app message not working as expected. FIAM in-app message not working as expected with event that has number type parameter. May 22, 2025
@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@master11360 master11360 changed the title FIAM in-app message not working as expected with event that has number type parameter. FIAM in-app message not working with event that has number type parameter. May 22, 2025
@rizafran rizafran added api: inappmessaging Firebase In App Messaging and removed needs-triage labels May 22, 2025
@rizafran
Copy link
Contributor

Thanks for the report, @master11360. Before I could start reproducing the issue, may I know which params did you use when creating an audience?

Image

@master11360
Copy link
Author

Hi @rizafran, I use my custom event

Image

Then choose the parameter of that event

Image

If you need more information, feel free to ask me to provide it.

@rizafran
Copy link
Contributor

Thanks for sharing, @master11360. Since I don't have visibility with how you created your custom events, I'm wondering if you're using custom dimensions or custom metrics?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: inappmessaging Firebase In App Messaging needs-info
Projects
None yet
Development

No branches or pull requests

3 participants