This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-19
lines changed
Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ var fs = require('fs');
22var 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
88var 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 {
You can’t perform that action at this time.
0 commit comments