1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 07:01:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

fix harmony image assets load fail issue (#505)

* modify harmony download logic to async

* fix harmony image assets load fail issue
This commit is contained in:
波仔糕
2025-06-25 15:22:47 +08:00
committed by GitHub
parent 1cab582bd0
commit 17e21d79cf
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -12,7 +12,7 @@ export class PushyFileJSBundleProvider extends JSBundleProvider {
this.updateContext = new UpdateContext(context); this.updateContext = new UpdateContext(context);
} }
getURL(): string { getURL(): string {
return this.updateContext.getBundleUrl(); return this.updateContext.getBundleUrl().substring(1);
} }
async getBundle(): Promise<ArrayBuffer> { async getBundle(): Promise<ArrayBuffer> {