Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-11863: Handle redirect from http to https (vice versa) #7533

Merged
merged 2 commits into from Jan 11, 2016

Conversation

hieupham007
Copy link
Contributor

testing steps in JIRA

@ashcoding
Copy link
Contributor

@ashcoding
Copy link
Contributor

@hieupham007
Works well with a non 6.0 Android.

On a 6.0 Android, no image loads. Just to be safe, I added the permissions as well. Still doesn't load. Code used for testing:-

var win1 = Titanium.UI.createWindow({className:'win1'});

var img = Ti.UI.createImageView({
    image:'http://graph.facebook.com/517267866/picture',
    top:40,
    width:200,
    height:200
});

win1.add(img);



   if (Ti.Media.hasCameraPermissions()) {
      win1.open();
   } else { 
       Ti.Media.requestCameraPermissions(function(e) {
                if (e.success === true) {
                   win1.open();
                } else {
                    alert("Access denied, error: " + e.error);
                }
       });
   }

@hieupham007
Copy link
Contributor Author

Ok fixed.

@ashcoding
Copy link
Contributor

Code reviewed and functionally tested. APPROVED

ashcoding added a commit that referenced this pull request Jan 11, 2016
TIMOB-11863: Handle redirect from http to https (vice versa)
@ashcoding ashcoding merged commit edc97fb into tidev:master Jan 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants