@xrnjs/app-template 0.0.5 → 0.0.7
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/android/app/src/main/java/com/xrn/template/multibundle/XRNHostParams.kt +2 -1
- package/harmony/entry/src/main/ets/BundleHelper.ets +1 -1
- package/ios/XRNTemplate/Info.plist +2 -2
- package/main-bundle/.watchmanconfig +1 -0
- package/main-bundle/app.json +0 -1
- package/main-bundle/package.json +1 -1
- package/package.json +2 -2
- package/sub-bundle/.watchmanconfig +1 -0
- package/sub-bundle/app.json +1 -2
- package/sub-bundle/package.json +1 -1
package/$package.json
CHANGED
|
@@ -12,6 +12,7 @@ import com.xrn.template.R
|
|
|
12
12
|
import xrn.modules.multibundle.bundle.BundleInfo
|
|
13
13
|
import xrn.modules.multibundle.bundle.RNHostManager
|
|
14
14
|
import xrn.modules.multibundle.bundle.RNHostParams
|
|
15
|
+
import xrn.modules.multibundle.devsupport.XDevInternalSettings
|
|
15
16
|
import xrn.modules.multibundle.devsupport.XDevSupportManagerFactory
|
|
16
17
|
|
|
17
18
|
class XRNHostParams(val application: Application): RNHostParams() {
|
|
@@ -59,7 +60,7 @@ class XRNHostParams(val application: Application): RNHostParams() {
|
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
override val getUseDeveloperSupport: ((info: BundleInfo) -> Boolean)? = { info: BundleInfo ->
|
|
62
|
-
true
|
|
63
|
+
if (BuildConfig.DEBUG) XDevInternalSettings.instance(info.bundleName)?.isBundleDebugEnabled() == true else false
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
override var getDevSupportManagerFactory: ((info: BundleInfo) -> XDevSupportManagerFactory?)? = { info: BundleInfo ->
|
|
@@ -112,7 +112,7 @@ export function createRNPackages(ctx: RNPackageContext, bundleInfo: BundleInfo):
|
|
|
112
112
|
new ReanimatedPackage(ctx),
|
|
113
113
|
new RNCVideoPackage(ctx),
|
|
114
114
|
new VisionCameraModulePackage(ctx),
|
|
115
|
-
new CodePushPackage(ctx, bundleInfo, "
|
|
115
|
+
new CodePushPackage(ctx, bundleInfo, ""),
|
|
116
116
|
new XRNLoadingPackage(ctx),
|
|
117
117
|
new SmartRefreshPackage(ctx),
|
|
118
118
|
new XRNMultiBundlePackage(ctx),
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
</dict>
|
|
35
35
|
</array>
|
|
36
36
|
<key>CFBundleVersion</key>
|
|
37
|
-
<string>
|
|
37
|
+
<string>20250818104225</string>
|
|
38
38
|
<key>CodePushDeploymentKey</key>
|
|
39
39
|
<string>$(MAIN_CODEPUSH_KEY)</string>
|
|
40
40
|
<key>CodePushServerURL</key>
|
|
41
|
-
<string>
|
|
41
|
+
<string>http://xxxcodepush.cn</string>
|
|
42
42
|
<key>CommonBundleName</key>
|
|
43
43
|
<string>xt-app-common</string>
|
|
44
44
|
<key>LSRequiresIPhoneOS</key>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/main-bundle/app.json
CHANGED
package/main-bundle/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xrnjs/app-template",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "XRN App Template",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
},
|
|
14
14
|
"author": "连永胜",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "3b4d05e239a5313a647b254a9c23de1332c8e031"
|
|
17
17
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/sub-bundle/app.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sub-bundle",
|
|
3
3
|
"displayName": "sub-bundle",
|
|
4
|
-
"skipCheckXtRnCoreVersion": true,
|
|
5
4
|
"port": 6061,
|
|
6
5
|
"harmony": {
|
|
7
6
|
"packageName": "com.xrn.template.hw"
|
|
@@ -10,6 +9,6 @@
|
|
|
10
9
|
"packageName": "com.xrn.template"
|
|
11
10
|
},
|
|
12
11
|
"ios": {
|
|
13
|
-
"bundleIdentifier": "com.
|
|
12
|
+
"bundleIdentifier": "com.xrn.template"
|
|
14
13
|
}
|
|
15
14
|
}
|
package/sub-bundle/package.json
CHANGED