Skip to content

Commit bea0e07

Browse files
committed
Update version to 10.36.0 in package.json, add configVersion to bun.lock, and refine resource copying logic in DownloadTask.java. Enable DEBUG mode in UpdateContext.java for enhanced logging during development.
1 parent dc9b5d7 commit bea0e07

File tree

5 files changed

+225
-101
lines changed

5 files changed

+225
-101
lines changed

Example/testHotUpdate/bun.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"lockfileVersion": 1,
3+
"configVersion": 0,
34
"workspaces": {
45
"": {
56
"name": "testHotUpdate",

Example/testHotUpdate/src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { LocalSvg } from 'react-native-svg/css';
2525
import TestConsole from './TestConsole';
2626

2727
import _updateConfig from '../update.json';
28-
import { UpdateProvider, Pushy, Cresc, useUpdate } from 'react-native-update';
28+
import { UpdateProvider, Pushy, useUpdate } from 'react-native-update';
2929
const { appKey } = _updateConfig[Platform.OS];
3030

3131
function App() {
@@ -53,7 +53,7 @@ function App() {
5353

5454
return (
5555
<View style={styles.container}>
56-
<Text style={styles.welcome}>欢迎22使用Pushy热更新服务</Text>
56+
<Text style={styles.welcome}>欢迎使用Pushy热更新服务</Text>
5757
<View style={{ flexDirection: 'row' }}>
5858
<Text>
5959
{useDefaultAlert ? '当前使用' : '当前不使用'}默认的alert更新提示

0 commit comments

Comments
 (0)