You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
description: 'Enter your application id (i.e. your.package.name)',
53
+
required: true
54
+
},function(err,result){
55
+
if(err){
56
+
returnconsole.log(err);
57
+
}
58
+
packageName=result.package_name;
59
+
promptQuestions();
60
+
});
50
61
}
51
-
if(usingiOS||usingAndroid){
52
-
promptQuestions();
62
+
else{
63
+
if(usingiOS||usingAndroid){
64
+
promptQuestions();
65
+
}
53
66
}
54
67
});
55
68
}
@@ -72,11 +85,11 @@ function promptQuestions() {
72
85
default: 'n'
73
86
},{
74
87
name: 'facebook_auth',
75
-
description: 'Are you using Facebook Authentication (y/n)',
88
+
description: 'Are you using Firebase Facebook Authentication (y/n)',
76
89
default: 'n'
77
90
},{
78
91
name: 'google_auth',
79
-
description: 'Are you using Google Authentication (y/n)',
92
+
description: 'Are you using Firebase Google Authentication (y/n)',
80
93
default: 'n'
81
94
}],function(err,result){
82
95
if(err){
@@ -88,6 +101,7 @@ function promptQuestions() {
88
101
if(usingAndroid){
89
102
writeGradleFile(result);
90
103
}
104
+
console.log('Firebase post install completed. To re-run this script, navigate to the root directory of `nativescript-plugin-firebase` in your `node_modules` folder and run: `npm run postinstall`.');
91
105
});
92
106
}
93
107
@@ -145,6 +159,9 @@ function writeGradleFile(result) {
0 commit comments