react-native-update 10.51.0 → 10.51.1

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.
@@ -154,6 +154,16 @@ android {
154
154
  }
155
155
  }
156
156
 
157
+ // AGP 9 disables the resValues feature for libraries by default; the
158
+ // pushy_build_time resource below needs it back on. The block exists
159
+ // since AGP 4, so guard like supportsNamespace() does for old projects.
160
+ def agpMajor = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')[0].toInteger()
161
+ if (agpMajor >= 4) {
162
+ buildFeatures {
163
+ resValues true
164
+ }
165
+ }
166
+
157
167
  buildTypes {
158
168
  release {
159
169
  resValue("string", "pushy_build_time", "${minutesSinceEpoch}")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update",
3
- "version": "10.51.0",
3
+ "version": "10.51.1",
4
4
  "description": "react-native hot update",
5
5
  "main": "src/index",
6
6
  "types": "src/index.ts",