Solved

In App messaging is not working

  • 22 August 2023
  • 3 replies
  • 235 views

I enabled in App messaging using data.enableInApp = true, and tried to send a test message but didn’t work

icon

Best answer by Jordan 29 August 2023, 01:07

View original

3 replies

Userlevel 2

Hi Mahmoud,

I'd like to get a few more details from you to be sure we point you in the right direction:

  1. How are in-app messages integrated with your workspace (SDK or JavaScript snippet)? For SDK, which one are you using, and what version of that SDK are you currently running?
  2. How are users identified in your app? Based on whether you’re using emailid, or cio_id, that’s the value you'll need to direct your messages to. The message won't be delivered if your site/app doesn’t identify people using the value you select.When using the Send Test feature, your "user token" will be one of the above identifier values.10662b814153645f965ce2ed5e011a4a.png
  3. If you are using the JavaScript snippet, would it be possible to share it exactly as it is implemented on your site (omit the API keys)?
  4. For an SDK, is there any in-app activity in your app's logs? You can enable logs by setting the configuration logLevel to debug. For instance, if you use the iOS SDK, you can learn more about enabling debug mode here. Please share the logs with us, and we can troubleshoot further.

We will keep an eye out for your reply!

Hi Mahmoud,

I'd like to get a few more details from you to be sure we point you in the right direction:

  1. How are in-app messages integrated with your workspace (SDK or JavaScript snippet)? For SDK, which one are you using, and what version of that SDK are you currently running?
  2. How are users identified in your app? Based on whether you’re using emailid, or cio_id, that’s the value you'll need to direct your messages to. The message won't be delivered if your site/app doesn’t identify people using the value you select.When using the Send Test feature, your "user token" will be one of the above identifier values.10662b814153645f965ce2ed5e011a4a.png
  3. If you are using the JavaScript snippet, would it be possible to share it exactly as it is implemented on your site (omit the API keys)?
  4. For an SDK, is there any in-app activity in your app's logs? You can enable logs by setting the configuration logLevel to debug. For instance, if you use the iOS SDK, you can learn more about enabling debug mode here. Please share the logs with us, and we can troubleshoot further.

We will keep an eye out for your reply!

1- We are using react native sdk

2- we identify user by id

3- no we are not using it

4- we are using customer io logs and events all over our app and it’s working fine

Userlevel 2
Badge

Hey @mahmoud 

 

Did your test message target the {{ customer.id }} value, or did you attempt to send via {{ customer.email }}?

 

If so, can you also confirm that your in-app message’s “page rules” and “display” configuration allow for delivery to iOS/Android mobile apps? 

 

If you still can’t get the message to show on your device, can you open a help ticket via email to win@customer.io and mention this community thread? If possible, please also remember to capture debug logs and share those with us. (https://customer.io/docs/sdk/react-native/updates-and-troubleshooting/troubleshooting/#capture-logs)

 

 

Thanks!

Reply