customerio / customerio-expo-plugin

MIT License
11 stars 9 forks source link

InApp messages not sent (iOS and Android) #141

Closed Samox closed 6 months ago

Samox commented 7 months ago

Hello, it's me again 😇. I have the latest Customerio SDK version and the inApp configured to be true.

    "customerio-expo-plugin": "^1.0.0-beta.15",
    "customerio-reactnative": "^3.5.2",

The SDK is configured this way:

  useEffect(() => {
    const data = new CustomerioConfig();
    data.logLevel = CioLogLevel.debug;
    data.enableInApp = true;

    const env = new CustomerIOEnv();
    env.siteId = process.env.EXPO_PUBLIC_CUSTOMERIO_SITE_ID;
    env.apiKey = process.env.EXPO_PUBLIC_CUSTOMERIO_API_KEY;
    env.region = Region.EU;

    CustomerIO.initialize(env, data);
  }, []);

I tried sending a test in app message with CIO ID and email, but nothing appears in the app. Same on iOS and Android. The push notifications work well. I don't know how to debug this. I don't see any logs.

Any help appreciated :)

Shahroz16 commented 6 months ago

Hey @Samox, thank you for reaching out.

To help make sure we're not missing anything outside of the initialization itself, please send the logs that you captured to win@customer.io along with a link to the message in Customer.io that you're using to test. With that information, we'll be able to take a closer look at your setup using the Activity Logs in your workspace. I'm going to go ahead and close the issue here and look out for your email, but please re-open if you have issues with sending the information to the support email.