Skip to content

Library loader #105

@Zolicha

Description

@Zolicha

On some devices there is a problem loading the native library since a wrong package installation.

I've solved this problem using the "ReLinker" library which extract the native source code from the APK if not presented.

In my opinion there are 2 easy solutions for that.

  1. Expose an API for custom native loading implementation.
  2. Use "ReLinker" directly.

Currently I change the loading to be at the "SQLiteOpenHelper" instead of "SQLiteDatabase" since the ReLinker need the android context.
ReLinker.loadLibrary(context, "sqlite3x");

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