Skip to content

[Android] impossible to use newGuid() between jni calls #23

@thedilletante

Description

@thedilletante

Hi! Thank you for the great library again.
I faced the issue that newGuid() could not be called between separate jni calls or from different threads. It seems, AndroidGuidInfo.uuidClass must be global reference to allow such calls. Also, JniEnv * variable should be passed from the current context into newGuid() to operate with jni functions to prevent context mismatch.
Is it appropriate to me to open PR with implementation of this behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions