File tree Expand file tree Collapse file tree 4 files changed +3
-18
lines changed
android/app/src/main/res/xml Expand file tree Collapse file tree 4 files changed +3
-18
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<network-security-config >
3- <domain-config cleartextTrafficPermitted =" true" >
4- <domain includeSubdomains =" true" >10.0.2.2</domain >
5- <domain includeSubdomains =" true" >localhost</domain >
6- <domain includeSubdomains =" true" >cos.pgyer.com</domain >
7- </domain-config >
3+ <base-config cleartextTrafficPermitted =" true" />
84</network-security-config >
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ import {
88 TextInput ,
99 Button ,
1010 StyleSheet ,
11- SafeAreaView ,
1211 Text ,
1312 View ,
1413 TouchableOpacity ,
1514} from 'react-native' ;
15+ import { SafeAreaView } from 'react-native-safe-area-context' ;
1616
1717import { PushyModule } from 'react-native-update/src/core' ;
1818const Hash = '9D5CE6EBA420717BE7E7D308B11F8207681B066C951D68F3994D19828F342474' ;
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-update" ,
3- "version" : " 10.36.2 " ,
3+ "version" : " 10.36.3 " ,
44 "description" : " react-native hot update" ,
55 "main" : " src/index" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -111,17 +111,6 @@ export const enhancedFetch = async (
111111 isRetry = false ,
112112) : Promise < Response > => {
113113 return fetch ( url , params )
114- . then ( r => {
115- if ( r . ok ) {
116- return r ;
117- }
118- throw Error (
119- i18n . t ( 'error_http_status' , {
120- status : r . status ,
121- statusText : r . statusText ,
122- } ) ,
123- ) ;
124- } )
125114 . catch ( e => {
126115 log ( 'fetch error' , url , e ) ;
127116 if ( isRetry ) {
You can’t perform that action at this time.
0 commit comments