react-native-ota-hot-update 2.1.8 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin/build/index.js +1 -1
package/package.json
CHANGED
package/plugin/build/index.js
CHANGED
|
@@ -6,7 +6,7 @@ const withAndroidAction = (config) => {
|
|
|
6
6
|
config.modResults.contents = config.modResults.contents.replace(/override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED/g, `
|
|
7
7
|
override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
|
|
8
8
|
|
|
9
|
-
override fun getJSBundleFile(): String = OtaHotUpdate.bundleJS`);
|
|
9
|
+
override fun getJSBundleFile(): String = OtaHotUpdate.bundleJS(this@MainApplication)`);
|
|
10
10
|
config.modResults.contents = config.modResults.contents.replace(/import expo.modules.ReactNativeHostWrapper/g, `
|
|
11
11
|
import expo.modules.ReactNativeHostWrapper
|
|
12
12
|
import com.otahotupdate.OtaHotUpdate`);
|