Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 8bc9aa4

Browse files
author
Sean Perkins
committed
Revert default application id logic -> Use 2.1.0
1 parent 9b5564b commit 8bc9aa4

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

scripts/postinstall.js

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var fs = require('fs');
22
var prompt = require('prompt');
33

44
// Default settings for using ios and android with Firebase
5-
var usingiOS = false, usingAndroid = false, packageName = 'your.package.name';
5+
var usingiOS = false, usingAndroid = false;
66

77
// The directories where the Podfile and include.gradle are stored
88
var directories = {
@@ -47,22 +47,9 @@ function askAndroidPrompt() {
4747
}
4848
if (isSelected(result.using_android)) {
4949
usingAndroid = true;
50-
prompt.get({
51-
name: 'package_name',
52-
description: 'Enter your application id (i.e. your.package.name)',
53-
required: true
54-
}, function(err, result) {
55-
if(err) {
56-
return console.log(err);
57-
}
58-
packageName = result.package_name;
59-
promptQuestions();
60-
});
6150
}
62-
else {
63-
if(usingiOS || usingAndroid) {
64-
promptQuestions();
65-
}
51+
if(usingiOS || usingAndroid) {
52+
promptQuestions();
6653
}
6754
});
6855
}
@@ -159,9 +146,6 @@ function writeGradleFile(result) {
159146
dimension "fireb"
160147
}
161148
}
162-
defaultConfig {
163-
applicationId = "` + packageName + `"
164-
}
165149
}
166150
167151
repositories {

0 commit comments

Comments
 (0)