Skip to content

Commit

Permalink
fix(cli): make migrator also update plugin variables (#5871)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Aug 17, 2022
1 parent 76f28e7 commit 478d48c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cli/src/tasks/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,23 @@ export async function migrateCommand(config: Config): Promise<void> {
}
}
}
const pluginVariables: { [key: string]: string } = {
firebaseMessagingVersion: '23.0.5',
playServicesLocationVersion: '20.0.0',
androidxBrowserVersion: '1.4.0',
androidxMaterialVersion: '1.6.1',
androidxExifInterfaceVersion: '1.3.3',
};
for (const variable of Object.keys(pluginVariables)) {
await updateFile(
config,
variablesPath,
`${variable} = '`,
`'`,
pluginVariables[variable],
true,
);
}
})();
});

Expand Down

0 comments on commit 478d48c

Please sign in to comment.