Skip to content

Fix crash when takeover activity is not defined in the AndroidManifest.xml

Compare
Choose a tag to compare
@patedit patedit released this 24 Apr 19:43
· 585 commits to master since this release

As a reminder, if you are using 5.0.0 or later you should define the following on your AndroidManifest.xml:

<activity android:name="com.mixpanel.android.takeoverinapp.TakeoverInAppActivity"
          android:theme="@style/com_mixpanel_android_TakeoverInAppActivityTheme"/>

Previous versions use a different activity and theme:

<activity android:name="com.mixpanel.android.surveys.SurveyActivity"
          android:theme="@style/com_mixpanel_android_SurveyActivityTheme"/>