Closed snappdevelopment closed 2 years ago
23.1.0
In 23.1.0 the DefaultInAppMessageViewWrapper got converted from Java to Kotlin which can be seen here.
In Java this class can be inherited from to implement a custom version of it. This is not possible anymore since Kotlin classes are final by default.
DefaultInAppMessageViewWrapper should be inheritable. This could be fixed by adding the open keyword to the class.
open
DefaultInAppMessageViewWrapper is final and can't be inherited.
No response
Hi @snappdevelopment ,
We will have a fix available soon and will update this issue with any updates. Thank you for filing!
This is fixed in 23.1.1 of the SDK.
Braze Android SDK Version
23.1.0
Steps To Reproduce
In 23.1.0 the DefaultInAppMessageViewWrapper got converted from Java to Kotlin which can be seen here.
In Java this class can be inherited from to implement a custom version of it. This is not possible anymore since Kotlin classes are final by default.
Expected Behavior
DefaultInAppMessageViewWrapper should be inheritable. This could be fixed by adding the
open
keyword to the class.Actual Incorrect Behavior
DefaultInAppMessageViewWrapper is final and can't be inherited.
Verbose Logs
No response
Additional Information
No response