Skip to content

Commit

Permalink
fix: after-createProject hook (NativeScript#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
manoldonev authored Feb 13, 2019
1 parent c19766f commit 49fb254
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ module.exports = function (hookArgs) {
}

function updateFirebaseConfigAppId(packageJson) {
const googleServicesJsonPath = path.join(appRootFolder, "App_Resources", "Android", "google-services.json");
const googleServiceInfoPlistPath = path.join(appRootFolder, "App_Resources", "iOS", "GoogleService-Info.plist");
const googleServicesJsonPath = path.join(appRootFolder, "app", "App_Resources", "Android", "google-services.json");
const googleServiceInfoPlistPath = path.join(appRootFolder, "app", "App_Resources", "iOS", "GoogleService-Info.plist");

if (!packageJson.nativescript || !packageJson.nativescript.id) {
return Promise.reject(new Error("cannot find nativescript node in package.json file"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ module.exports = function (hookArgs) {
}

function updateFirebaseConfigAppId(packageJson) {
const googleServicesJsonPath = path.join(appRootFolder, "App_Resources", "Android", "google-services.json");
const googleServiceInfoPlistPath = path.join(appRootFolder, "App_Resources", "iOS", "GoogleService-Info.plist");
const googleServicesJsonPath = path.join(appRootFolder, "app", "App_Resources", "Android", "google-services.json");
const googleServiceInfoPlistPath = path.join(appRootFolder, "app", "App_Resources", "iOS", "GoogleService-Info.plist");

if (!packageJson.nativescript || !packageJson.nativescript.id) {
return Promise.reject(new Error("cannot find nativescript node in package.json file"));
Expand Down

0 comments on commit 49fb254

Please sign in to comment.