Skip to content

Commit

Permalink
Merge branch 'master' into TIMOB-28231
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshchdhry committed Nov 16, 2020
2 parents e2dbfed + 9f7191d commit 46c698b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 24 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
defaultConfig {
applicationId 'com.titanium.test'
minSdkVersion 19
targetSdkVersion 29
targetSdkVersion 30
versionCode 1
versionName '1.0'
manifestPlaceholders = project.ext.tiManifestPlaceholders
Expand Down
2 changes: 1 addition & 1 deletion android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"minSDKVersion": "19",
"compileSDKVersion": "30",
"vendorDependencies": {
"android sdk": ">=23.x <=29.x",
"android sdk": ">=23.x <=30.x",
"android build tools": ">=29.0.2 <=30.x",
"android platform tools": "30.x",
"android tools": "<=26.x",
Expand Down
3 changes: 0 additions & 3 deletions iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -729,9 +729,6 @@ - (TiBlob *)toImage:(id)args
[blob setMimeType:@"image/png" type:TiBlobTypeImage];
UIGraphicsEndImageContext();
if (callback != nil) {
DebugLog(@"[DEBUG] Since Titanium SDK 7.0.0, the toImage callback returns a single blob on iOS to match the Android / Windows behavior.");
DebugLog(@"[DEBUG] Please migrate your code in case you still use the old behavior. This debug-log will be removed in Titanium SDK 8.0.0");

[callback call:@[ blob ] thisObject:self];
}
},
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"semver": "^7.3.2",
"simple-plist": "^1.1.1",
"sprintf": "0.1.5",
"temp": "0.9.2",
"temp": "0.9.4",
"wrap-ansi": "^7.0.0",
"xcode": "^3.0.1",
"xmldom": "^0.4.0",
Expand Down Expand Up @@ -147,15 +147,15 @@
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"request-promise-native": "^1.0.9",
"rollup": "^2.33.1",
"rollup": "^2.33.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"ssri": "^8.0.0",
"stream-splitter": "^0.3.2",
"strip-ansi": "^6.0.0",
"titanium": "^5.3.0",
"titanium-docgen": "^4.8.3"
"titanium-docgen": "^4.9.1"
},
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions tests/Resources/ti.android.r.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ describe.android('Titanium.Android.R', () => {
'alphabeticShortcut',
'alwaysDrawnWithCache',
'alwaysRetainTaskState',
'amPmBackgroundColor',
[ 'amPmBackgroundColor', 21 ],
[ 'amPmTextColor', 21 ],
[ 'ambientShadowAlpha', 21 ],
'angle',
Expand Down Expand Up @@ -1510,8 +1510,8 @@ describe.android('Titanium.Android.R', () => {
];
for (let prop of properties) {
if (Array.isArray(prop)) {
prop = prop[0];
const apiLevel = prop[1];
prop = prop[0];
if (Ti.Platform.Android.API_LEVEL < apiLevel) {
continue; // skip
}
Expand Down Expand Up @@ -1666,8 +1666,8 @@ describe.android('Titanium.Android.R', () => {
];
for (let prop of properties) {
if (Array.isArray(prop)) {
prop = prop[0];
const apiLevel = prop[1];
prop = prop[0];
if (Ti.Platform.Android.API_LEVEL < apiLevel) {
continue; // skip
}
Expand Down Expand Up @@ -1788,8 +1788,8 @@ describe.android('Titanium.Android.R', () => {
];
for (let prop of properties) {
if (Array.isArray(prop)) {
prop = prop[0];
const apiLevel = prop[1];
prop = prop[0];
if (Ti.Platform.Android.API_LEVEL < apiLevel) {
continue; // skip
}
Expand Down

0 comments on commit 46c698b

Please sign in to comment.