moveAndroidGoogleService method
Implementation
void moveAndroidGoogleService(
String googleServiceDir, String outputDir, String flavor) {
final pathGoogleService =
join(current, googleServiceDir, 'google-services.json');
final pathOutputGoogleService =
join(current, outputDir, 'google-services.json');
if (exists(pathGoogleService)) {
copy(
pathGoogleService,
pathOutputGoogleService,
overwrite: true,
);
StatusHelper.success('Firebase $flavor config android');
} else {
StatusHelper.warning(
'google-services.json in $pathGoogleService not found.');
}
}