Skip to main content

In Flutter app, the paywall is loaded and working in debug mode. However, in release mode, the app crashes when opening the paywall. The error logs I get in release mode are as follows. What is the reason for this?


FATAL EXCEPTION: main
E/AndroidRuntime(11634): Process: com.gualtech.zeriapp, PID: 11634
E/AndroidRuntime(11634): java.lang.NullPointerException: Attempt to read from field 'long android.content.res.XmlBlock$Parser.mParseState' on a null object reference
E/AndroidRuntime(11634):        at android.content.res.XmlBlock$Parser.getAttributeListValue(XmlBlock.java:385)
E/AndroidRuntime(11634):        at w0.a.a(SourceFile:1)
E/AndroidRuntime(11634):        at M0.c.b(SourceFile:38)
E/AndroidRuntime(11634):        at M0.c.c(SourceFile:85)

Hi ​@contactfinder-18ca8e - can you share which Flutter version and RevenueCat Flutter SDK version you’re using?


Hi, my Flutter version is  3.24.3 and  RC SDK 8.4.4

 


Thanks ​@contactfinder-18ca8e, our engineering team is digging into this.


Reply