Closed Luklek closed 6 years ago
The above crash is reported only on Nexus 4 with Android 6.0.1 so far.
Are you using https://github.com/MFlisar/GDPRDialog/blob/0d2261c67c777cb044d8b3b1d3e26d3fe8273854/library/src/main/java/com/michaelflisar/gdprdialog/GDPRActivity.java#L20 to start the activity?
Seems like the arguments are missing, in which case there would not be a graceful way to handle this...
I am using BottomSheet dialog:
GDPR.getInstance().showDialog(this, mSetup, data.getLocation());
Not using startActivityForResult
anywhere.
But that's the stacktrace I get in Crashlytics (Nexus 4 with Android 6.0.1)
In this case there is no way this can happen based on your code.
The activity is registered in the manifest and merged into your apps manifest, but it will never be used...
Maybe someone is trying to start it via an intent manually and that's why this crash happens? I've no idea how else this can happen...