react-native-mixpanel icon indicating copy to clipboard operation
react-native-mixpanel copied to clipboard

In-app messaging not working on Android

Open abeddow91 opened this issue 5 years ago • 5 comments

Hi team,

I'm currently unable to get in-app messages delivered to Android devices. They are working fine on iOS.

As far as I can see, Android is working fine apart from this, tracking events and users. The test user is shown in Mixpanel in the in-app messaging dashboard as being seen recently but the message never gets delivered.

We are running the following:

react-native-cli: 2.0.1 react-native: 0.59.10 react-native-mixpanel: 0.0.16

Appreciate we are a little behind on the react-native-mixpanel version but is there anything we can try here without upgrading (or with)? Looks like [email protected] still uses mixpanel sdk which is 5+ which meets requirements for in-app messaging.

Any help would be hugely appreciated.

Thanks, Anna

abeddow91 avatar Nov 29 '19 13:11 abeddow91

@abeddow91 Did you add <activity android:name="com.mixpanel.android.takeoverinapp.TakeoverInAppActivity" android:theme="@style/com_mixpanel_android_TakeoverInAppActivityTheme"/> to AndroidManifest.xml file.?

https://developer.mixpanel.com/docs/android-inapp-messages

lorenc-tomasz avatar Dec 02 '19 17:12 lorenc-tomasz

Hi @lorenc-tomasz

yep i did but still nothing being delivered here. Works fine on ios.

Is there anything you can think that could be blocking here?

Thanks!

abeddow91 avatar Jan 30 '20 16:01 abeddow91

Hi @abeddow91, did you find a solution? I'm having the same issue.

DirleiDionisio avatar May 25 '20 21:05 DirleiDionisio

afraid not!

abeddow91 avatar May 28 '20 11:05 abeddow91

Have you tried explicitly adding mixpanel SDK in app's build.grade?

dependencies {
    implementation 'com.mixpanel.android:mixpanel-android:5.+'
}

bruscantini avatar Jun 16 '20 12:06 bruscantini