[iOS] enable new architecture for react-native (#19748)

This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well.
We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly.
needed for https://github.com/status-im/status-mobile/issues/18138
This commit is contained in:
Siddarth Kumar
2024-04-30 14:08:41 +05:30
committed by GitHub
parent d8e3934a05
commit 86fefc2e32
6 changed files with 347 additions and 181 deletions
@@ -0,0 +1,16 @@
--- /tmp/tmp-status-mobile-ca53bf738/tmp.Ay8Xen8Mmn/NativeCameraRollModuleSpec.java 2024-04-19 12:10:05.789750000 +0200
+++ ./node_modules/@react-native-camera-roll/camera-roll/android/src/paper/java/com/reactnativecommunity/cameraroll/NativeCameraRollModuleSpec.java 2024-04-19 12:12:27.231493426 +0200
@@ -50,4 +50,13 @@
@ReactMethod
@DoNotStrip
public abstract void getPhotoThumbnail(String internalID, ReadableMap options, Promise promise);
+
+ @ReactMethod
+ @DoNotStrip
+ public abstract void getPhotosCountiOS(String arg, Promise promise);
+
+ @ReactMethod
+ @DoNotStrip
+ public abstract void getFavoritesiOS(String arg, Promise promise);
+
}