Skip to content

Generated Android guidance references nonexistent registerNatives() #1565

Description

@OskarEichler

Description

Nitrogen generates a registerAllNatives() API but its deprecation replacement, JNI_OnLoad example, and HybridObjectRegistry::createHybridObject() setup error all instruct users to call namespace-level registerNatives(), which does not exist. Following the generated migration or error guidance fails to compile instead of registering HybridObjects.

Expected behavior

All generated declarations, examples, and runtime setup guidance should consistently reference the generated registerAllNatives() function.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions