chore: release prep

This commit is contained in:
Nathan Walker
2021-02-05 12:24:46 -08:00
parent 8f1455eef7
commit 11b3b84114
13 changed files with 31 additions and 23 deletions

View File

@ -15,7 +15,7 @@
}, },
"devDependencies": { "devDependencies": {
"@nativescript/android": "7.0.1", "@nativescript/android": "7.0.1",
"@nativescript/ios": "7.1.0", "@nativescript/ios": "7.2.0",
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz", "@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
"typescript": "file:../../node_modules/typescript" "typescript": "file:../../node_modules/typescript"
}, },

View File

@ -12,7 +12,7 @@
}, },
"devDependencies": { "devDependencies": {
"@nativescript/android": "7.0.1", "@nativescript/android": "7.0.1",
"@nativescript/ios": "7.1.0", "@nativescript/ios": "7.2.0",
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz", "@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
"typescript": "file:../../node_modules/typescript" "typescript": "file:../../node_modules/typescript"
} }

View File

@ -12,7 +12,7 @@
}, },
"devDependencies": { "devDependencies": {
"@nativescript/android": "7.0.1", "@nativescript/android": "7.0.1",
"@nativescript/ios": "7.1.0", "@nativescript/ios": "7.2.0",
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz", "@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
"typescript": "file:../../node_modules/typescript" "typescript": "file:../../node_modules/typescript"
}, },

View File

@ -47,7 +47,7 @@
"mocha": "^8.0.1", "mocha": "^8.0.1",
"mocha-typescript": "^1.1.17", "mocha-typescript": "^1.1.17",
"module-alias": "^2.2.2", "module-alias": "^2.2.2",
"nativescript": "~7.1.0", "nativescript": "~7.2.0",
"node-sass": "~4.14.1", "node-sass": "~4.14.1",
"parse-css": "git+https://github.com/tabatkins/parse-css.git", "parse-css": "git+https://github.com/tabatkins/parse-css.git",
"parserlib": "^1.1.1", "parserlib": "^1.1.1",

View File

@ -3,7 +3,7 @@
"main": "index", "main": "index",
"types": "index.d.ts", "types": "index.d.ts",
"description": "NativeScript Core Modules", "description": "NativeScript Core Modules",
"version": "7.1.4", "version": "7.2.0",
"homepage": "https://nativescript.org", "homepage": "https://nativescript.org",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,4 +1,12 @@
platform :ios, '9.0' platform :ios, '12.0'
use_frameworks! use_frameworks!
pod 'MaterialComponents/Tabs', '~> 94.5' pod 'MaterialComponents/Tabs', '~> 94.5'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end
end
end

View File

@ -4,6 +4,20 @@
<dict> <dict>
<key>AvailableLibraries</key> <key>AvailableLibraries</key>
<array> <array>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>TNSWidgets.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict> <dict>
<key>DebugSymbolsPath</key> <key>DebugSymbolsPath</key>
<string>dSYMs</string> <string>dSYMs</string>
@ -21,20 +35,6 @@
<key>SupportedPlatformVariant</key> <key>SupportedPlatformVariant</key>
<string>simulator</string> <string>simulator</string>
</dict> </dict>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>TNSWidgets.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
</array> </array>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>XFWK</string> <string>XFWK</string>

View File

@ -45,9 +45,8 @@ export namespace ad {
androidView._cachedDrawable = constantState || drawable; androidView._cachedDrawable = constantState || drawable;
} }
const isBorderDrawable = drawable instanceof org.nativescript.widgets.BorderDrawable; const isBorderDrawable = drawable instanceof org.nativescript.widgets.BorderDrawable;
const isColorDrawable = drawable instanceof android.graphics.drawable.ColorDrawable;
const onlyColor = !background.hasBorderWidth() && !background.hasBorderRadius() && !background.clipPath && !background.image && !!background.color; const onlyColor = !background.hasBorderWidth() && !background.hasBorderRadius() && !background.clipPath && !background.image && !!background.color;
if (!isBorderDrawable && isColorDrawable && onlyColor) { if (!isBorderDrawable && drawable instanceof android.graphics.drawable.ColorDrawable && onlyColor) {
drawable.setColor(background.color.android); drawable.setColor(background.color.android);
drawable.invalidateSelf(); drawable.invalidateSelf();
} else if (isSetColorFilterOnlyWidget(nativeView) && drawable && onlyColor) { } else if (isSetColorFilterOnlyWidget(nativeView) && drawable && onlyColor) {

View File

@ -4,3 +4,4 @@
// To build for device with Xcode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html // To build for device with Xcode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html
// DEVELOPMENT_TEAM = YOUR_TEAM_ID; // DEVELOPMENT_TEAM = YOUR_TEAM_ID;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;