Skip to content

Commit

Permalink
Removed console
Browse files Browse the repository at this point in the history
  • Loading branch information
jitendraashutec committed Jun 16, 2020
1 parent 645bda6 commit 03bf6a0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 13 deletions.
4 changes: 2 additions & 2 deletions App_Resources/Android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="__PACKAGE__"
android:versionCode="28"
android:versionName="1.0">
android:versionCode="${versionCode}"
android:versionName="${versionName}">

<supports-screens
android:smallScreens="true"
Expand Down
4 changes: 2 additions & 2 deletions App_Resources/iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>${versionName}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>28</string>
<string>${versionCode}</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down
4 changes: 2 additions & 2 deletions configurations/trivia/ios/Info.plist.dev
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>${versionName}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>28</string>
<string>${versionCode}</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down
1 change: 0 additions & 1 deletion custom-hooks/nativescript-copy-configuration-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ var copyPlist = function (copyPlistOpts) {
var copyInfoPlist = function (copyPlistOpts) {
if (copyPlistOpts.platform === 'android') { return true; }
else if (copyPlistOpts.platform === 'ios') {
console.log(">>>>>>>>>>>>>>", copyPlistOpts.projectDirectoryPath, "configurations", copyPlistOpts.project, "ios", "Info.plist.prod");
var sourceInfoPlistProd = path.join(copyPlistOpts.projectDirectoryPath, "configurations", copyPlistOpts.project, "ios", "Info.plist.prod");
var sourceInfoPlistDev = path.join(copyPlistOpts.projectDirectoryPath, "configurations", copyPlistOpts.project, "ios", "Info.plist.dev");
var destinationInfoPlist = path.join(copyPlistOpts.appResourcesDirectoryPath, "iOS", "Info.plist");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"angular-cli": {},
"nativescript": {
"id": "io.bitwiser.trivia.dev",
"id": "${packageName}",
"tns-android": {
"version": "6.5.1"
},
Expand Down
3 changes: 0 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
},
"include": [
"projects/trivia/src/tests/**/*.ts"
],
"exclude": [
"**/*.tns.ts",
"**/*.android.ts",
Expand Down
2 changes: 0 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ module.exports = env => {
"tns-core-modules/ui/frame",
"tns-core-modules/ui/frame/activity",
]);
console.log('ENV', env);
const platform = env && (env.android && "android" || env.ios && "ios" || env.platform);
if (!platform) {
throw new Error("You need to provide a target platform!");
Expand Down Expand Up @@ -116,7 +115,6 @@ module.exports = env => {
additionalLazyModuleResources.push(appModuleFolderPath);
}
}
console.log("environment", env)
const envFullPath = (env.prod) ? "prod" : "dev";
// env.project = env.project || 'trivia';
const ngCompilerPlugin = new AngularCompilerPlugin({
Expand Down

0 comments on commit 03bf6a0

Please sign in to comment.