Skip to content

Supporting React Native path format for CodePush #680

Closed
@nicinabox

Description

@nicinabox

Right now the React Native plugin for Raven strips the asset path by looking for .app. It would be awesome if it also supported the path from CodePush releases too.

This might be as simple as updating the regex to include that:

# CodePush path: /var/mobile/Containers/Data/Application/{DEVICE_ID}/Library/Application%20Support/CodePush/{SHA}/CodePush/main.jsbundle
-var PATH_STRIP_RE = /^.*\/[^\.]+\.app/;
+var PATH_STRIP_RE = /^.*\/[^\.]+(\.app|CodePush)/;

Thoughts?

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