I tried this but unfortunately there's a bug in the code like a warning ignoring classes on proguard.