Skip to content

Commit

Permalink
[iOS9] configure App Transport Security in order to use HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Aug 28, 2015
1 parent 51266b0 commit 1384fd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ios/RedditSearch/Rakefile
Expand Up @@ -4,4 +4,9 @@ require 'motion/project/template/ios'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'Reddit Search'
app.info_plist['NSAppTransportSecurity'] = {
'NSExceptionDomains' => {
'www.reddit.com' => { 'NSTemporaryExceptionAllowsInsecureHTTPLoads' => true }
}
}
end

0 comments on commit 1384fd4

Please sign in to comment.