mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 21:33:12 +08:00 
			
		
		
		
	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:
		
										
											Binary file not shown.
										
									
								
							| @@ -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> { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 波仔糕
					波仔糕