mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 21:33:12 +08:00 
			
		
		
		
	fix FileJSBundleProvider conflict issue (#496)
* fix FileJSBundleProvider conflics issue * udpate
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| import { FileJSBundleProvider } from 'pushy/src/main/ets/FileJSBundleProvider'; | ||||
| import { PushyFileJSBundleProvider  } from 'pushy/src/main/ets/PushyFileJSBundleProvider'; | ||||
| import { ComponentBuilderContext, RNOHCoreContext,RNAbility, | ||||
|   MetroJSBundleProvider } from '@rnoh/react-native-openharmony'; | ||||
| import { | ||||
| @@ -65,7 +65,7 @@ struct Index { | ||||
|               // local debug mode | ||||
|               new MetroJSBundleProvider(), | ||||
|               // release mode | ||||
|               new FileJSBundleProvider(this.rnohCoreContext.uiAbilityContext), | ||||
|               new PushyFileJSBundleProvider(this.rnohCoreContext.uiAbilityContext), | ||||
|               new ResourceJSBundleProvider(this.rnohCoreContext.uiAbilityContext.resourceManager, 'bundle.harmony.js') | ||||
|             ]), | ||||
|             this.rnohCoreContext.logger), | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| { | ||||
|     "pushy_build_time": "2025-04-12T11:12:43.423Z", | ||||
|     "pushy_build_time": "2025-04-30T02:46:33.340Z", | ||||
|     "versionName": "1.0.0" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 波仔糕
					波仔糕