Skip to content

Conversation

@PieterPicup
Copy link

Saving state sometimes caused android.os.TransactionTooLargeException.
If users do not require state saving it can be turned off.

@bismarabia
Copy link

I can confirm the crash is coming from inside Signature.java$onSaveInstanceState() method.
I attached a debugger in there and set bundle as null at the end the crash didn't happen.

Preserving the state is important but I think @gcacace should come up with a better way to save bitmap into state.

@gustavocnp95
Copy link

@PieterPicup @bismarabia
We just created a fork and published with the fix keeping the state saving. For use it you should:

Set jitpack.io url on your project's build.gradle

allprojects {
    repositories {
        google()
        maven { url "https://jitpack.io" }
   }
}

and then, add into your depedencies this:

implementation 'com.github.prologapp:android-signaturepad:1.0.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants