Closed stepanov-standy closed 11 months ago
Version 1.3.0
of this package now handles UMPFormErrorCode.invalidViewController
, which caused the crash. Let me know if the upgrade to the UMP SDK fixes the issue, or whether invalidViewController
now just shows up on the Dart side.
@blaugold thank you so much for so quick turn around. I should say that the reported by me exception was not on 100% of devices, it is a small percentage of total users. I have upgraded to the 1.3.0
and the problem was fixed. It was my design issue when I request to show consent form several times, that is why I receive this exception as fatal. In a new version of library it is handled properly and I receive:
PlatformException(invalidViewController, The provided view controller is already presenting another view controller., null, null)
I have updated my code to not request a consent form after it was already requested. Thanks one more time!
@stepanov-standy Great! Thanks for the update.
I am using the latest version of the library. It was in production only for Android users without issue, 2 days ago I have enabled GDPR message for iOS users and start receiving the following error in Firebase Crashlitics:
I see it on almost all iOS versions and different models of devices, so looks like it is something common.
Here is the method that I use:
My try-catch block doesn't help as plugin throws fatal error in the line 212:
Probably the issue can be solved automatically by ugrading this library to the latest UMP 2.1.0? Anyway any suggestions or help is highly appriciated as I had to turn off the plugin on iOS, but after mid of January 2024 GDPR message is required by Google and lack of the message may affect earnings.