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

Commit 0bb9245

Browse files
author
Danilo De Luca
committed
Fix bug on iOS platform occurring when application is built in release mode with development environment. In this case, before this patch, the plugin copies firebase prod file in place of the firebase dev file.
1 parent bcbcef3 commit 0bb9245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

publish/scripts/installer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ module.exports = function($logger, hookArgs) {
846846
});
847847
}
848848
849-
var buildType = isReleaseBuild || isProdEnv ? 'production' : 'development';
849+
var buildType = (isReleaseBuild && isProdEnv) || (!isReleaseBuild && isProdEnv) ? 'production' : 'development';
850850
851851
/*
852852
Detect if we have nativescript-plugin-firebase temp file created during after-prepare hook, so we know

0 commit comments

Comments
 (0)