mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Modify image url from http to https on examples
Summary: Modify image url from http to https on examples > App Transport Security (ATS) is enabled by default for apps linked against the iOS 9.0 or OS X v10.11 SDKs or later, as indicated by the default Boolean value of NO for the NSAllowsArbitraryLoads key. This key is at the root level of the NSAppTransportSecurity dictionary. With ATS enabled, HTTP connections must use HTTPS (RFC 2818). Attempts to connect using insecure HTTP fail. ATS employs the Transport Layer Security (TLS) protocol version 1.2 (RFC 5246). For background on secure Internet connections, read HTTPS Server Trust Evaluation. https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW35 Closes https://github.com/facebook/react-native/pull/10714 Differential Revision: D4124471 Pulled By: hramos fbshipit-source-id: a7cc9d0267906747b00a1d88245af52c967c7b11
This commit is contained in:
committed by
Facebook Github Bot
parent
2ac6c754c1
commit
52d90da75e
@@ -38,11 +38,11 @@ import type { ViewPagerScrollState } from 'ViewPagerAndroid';
|
||||
var PAGES = 5;
|
||||
var BGCOLOR = ['#fdc08e', '#fff6b9', '#99d1b7', '#dde5fe', '#f79273'];
|
||||
var IMAGE_URIS = [
|
||||
'http://apod.nasa.gov/apod/image/1410/20141008tleBaldridge001h990.jpg',
|
||||
'http://apod.nasa.gov/apod/image/1409/volcanicpillar_vetter_960.jpg',
|
||||
'http://apod.nasa.gov/apod/image/1409/m27_snyder_960.jpg',
|
||||
'http://apod.nasa.gov/apod/image/1409/PupAmulti_rot0.jpg',
|
||||
'http://apod.nasa.gov/apod/image/1510/lunareclipse_27Sep_beletskycrop4.jpg',
|
||||
'https://apod.nasa.gov/apod/image/1410/20141008tleBaldridge001h990.jpg',
|
||||
'https://apod.nasa.gov/apod/image/1409/volcanicpillar_vetter_960.jpg',
|
||||
'https://apod.nasa.gov/apod/image/1409/m27_snyder_960.jpg',
|
||||
'https://apod.nasa.gov/apod/image/1409/PupAmulti_rot0.jpg',
|
||||
'https://apod.nasa.gov/apod/image/1510/lunareclipse_27Sep_beletskycrop4.jpg',
|
||||
];
|
||||
|
||||
class LikeCount extends React.Component {
|
||||
|
||||
Reference in New Issue
Block a user