mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-23 07:53:38 +08:00
fix
This commit is contained in:
@@ -17,7 +17,7 @@ export class PushyFileJSBundleProvider extends JSBundleProvider {
|
||||
|
||||
async getBundle(): Promise<ArrayBuffer> {
|
||||
try {
|
||||
this.filePath = this.updateContext.getBundleUrl();
|
||||
this.filePath = this.updateContext.getBundleUrl();
|
||||
const res = fileIo.accessSync(this.filePath);
|
||||
if (res) {
|
||||
const file = fileIo.openSync(this.filePath, fileIo.OpenMode.READ_ONLY);
|
||||
|
||||
Reference in New Issue
Block a user