Fix crash when takeover activity is not defined in the AndroidManifest.xml
- Fix provided #451
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"/>