Skip to content

Run pod install after upgrade #212

@thymikee

Description

@thymikee

Describe the Feature

upgrade command could use installPods helper, and run:

pod repo update
pod install

after installing JS deps.

Here's how init uses it:

if (process.platform === 'darwin') {
await installPods({projectName, loader});
}

It's likely that installPods will need another option introduced to decide whether update the pods or not. It's not necessary during init because all pods are local, but it's usually necessary when having 3rd party libraries. We can also be smart about it and check for presence of 3rd party RN libs by accessing config.dependencies.

cc @orta @fson what do you think?

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