Details
-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: Release 6.0.0
-
Fix Version/s: Release 6.0.0
-
Component/s: SafariDialog
-
Labels:
-
Story Points:1
-
Sprint:2016 Sprint 20 SDK
Description
The fix made for MOD-2296 subsequently broke tintColor for iOS9. Switching the ti.safaridialog module version from 1.1.0 -> 1.0.5 resolves the issue.
TEST CODE:
var safari = require('ti.safaridialog'); |
|
var win = Ti.UI.createWindow({
|
backgroundColor: 'white' |
})
|
|
var btn = Ti.UI.createButton({
|
title: "Open safari dialog" |
});
|
|
btn.addEventListener("click", function() { |
safari.open({
|
url:"http://google.com", |
title:"Hello World", |
tintColor:"red", |
//barColor:"red" |
});
|
});
|
|
safari.addEventListener("load", function(e) { |
var pageurl = e.url;
|
var success = e.success;
|
Ti.API.warn(pageurl + ' loaded with success value ' + success); |
});
|
|
win.add(btn);
|
win.open();
|
Steps to Reproduce
1. Create a classic mobile application
2. Add ti.safaridialog (1.1.0) to project.
3. Use above test code in app.js
4. Launch app on iOS9 device / sim
Expected Result
"Done" Button and bottom toolbar icons should be Red.
Actual Result
"Done" Button and bottom toolbar icons remain as default. (blue)
Attachments
Issue Links
- relates to
-
MOD-2296 iOS10: Ti.SafariDialog - tintColor on iOS 10 broken, new barColor property available
-
- Closed
-