1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-12-15 01:22:34 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2025-11-27 14:47:42 +08:00
parent e5c08aaa12
commit eb519d0307
4 changed files with 3 additions and 18 deletions

View File

@@ -1,8 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">10.0.2.2</domain>
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">cos.pgyer.com</domain>
</domain-config>
<base-config cleartextTrafficPermitted="true" />
</network-security-config>

View File

@@ -8,11 +8,11 @@ import {
TextInput,
Button,
StyleSheet,
SafeAreaView,
Text,
View,
TouchableOpacity,
} from 'react-native';
import { SafeAreaView } from 'react-native-safe-area-context';
import {PushyModule} from 'react-native-update/src/core';
const Hash = '9D5CE6EBA420717BE7E7D308B11F8207681B066C951D68F3994D19828F342474';

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-update",
"version": "10.36.2",
"version": "10.36.3",
"description": "react-native hot update",
"main": "src/index",
"scripts": {

View File

@@ -111,17 +111,6 @@ export const enhancedFetch = async (
isRetry = false,
): Promise<Response> => {
return fetch(url, params)
.then(r => {
if (r.ok) {
return r;
}
throw Error(
i18n.t('error_http_status', {
status: r.status,
statusText: r.statusText,
}),
);
})
.catch(e => {
log('fetch error', url, e);
if (isRetry) {