Skip to content

PusherOptions.readVersionFromProperties android.os.strictmode.DiskReadViolation #288

Open
@wbervoets

Description

@wbervoets

What is the issue?

When enabling StrictMode on Android the PusherOptions.readVersionFromProperties generates a DiskReadViolation because it reads from the file system from the UI thread.

Isn't it possible to let the build system generate a BuildConfig.PUSHER_VERSION file that is used instead so we don't need to read in the file when constructing PusherOptions() ?

...


CC @pusher/mobile

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions