This commit upgrades `react-native` to `v0.75.3` Following changes were also made : - `NDK` upgraded to `26.1.10909125` - `@react-native/gradle-plugin` is set up using `includeBuild` gradle mechanism which is a better way. - `reactjs` is upgraded to `18.3.1` - `react-native-config` is upgraded to `1.5.3` - `react-native-navigation` is upgraded to `7.40.1` - `react-native-reanimated` is upgraded to `3.16.6` - `react-native-gesture-handler` is upgraded to `2.22.0` - `react-native-keychain` is upgraded to `9.2.2` - patches for react-native-navigation are updated. PR in RNN repo -> https://github.com/wix/react-native-navigation/pull/7913 - patched autolinking behaviour in `react-native` to prevent generating `autolinking.json` in a gradle step. We run gradle in a sandbox with `--offline` so this is not feasible for us. We do the same thing via a nix phase called `autolinkPhase`. - `AGP` is bumped to `8.5.0` and `aapt2` is bumped to `8.5.0-11315950` - we no longer need to patch out `-X` from `script_phases-patched.sh` - `gradle` deps were updated. - `pods` were updated. - `gems` were updated.
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
--- /tmp/tmp-status-mobile-ca53bf738/tmp.QcO69SAqs7/CameraRollModule.java 2024-04-19 14:02:42.746932000 +0200
|
|
+++ ./node_modules/@react-native-camera-roll/camera-roll/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java 2024-04-19 14:03:51.776866113 +0200
|
|
@@ -677,7 +677,7 @@
|
|
|
|
WritableArray subTypes = Arguments.createArray();
|
|
node.putArray("subTypes", subTypes);
|
|
-
|
|
+
|
|
if (includeSourceType) {
|
|
node.putString("sourceType", "UserLibrary");
|
|
} else {
|
|
@@ -685,7 +685,7 @@
|
|
}
|
|
|
|
WritableArray group_name = Arguments.createArray();
|
|
-
|
|
+
|
|
if (includeAlbums) {
|
|
group_name.pushString(media.getString(groupNameIndex));
|
|
}
|
|
@@ -1089,6 +1089,16 @@
|
|
promise.reject("CameraRoll:getPhotoThumbnail", "getPhotoThumbnail is not supported on Android");
|
|
}
|
|
|
|
+ @ReactMethod
|
|
+ public void getPhotosCountiOS(String arg, Promise promise) {
|
|
+ promise.reject("CameraRoll:getPhotosCountiOS", "getPhotosCountiOS is not supported on Android");
|
|
+ }
|
|
+
|
|
+ @ReactMethod
|
|
+ public void getFavoritesiOS(String arg, Promise promise) {
|
|
+ promise.reject("CameraRoll:getFavoritesiOS", "getFavoritesiOS is not supported on Android");
|
|
+ }
|
|
+
|
|
public void addListener(String eventName) {}
|
|
public void removeListeners(double count) {}
|
|
}
|