@expensify/react-native-live-markdown 0.1.322 → 0.1.324

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.
@@ -9,10 +9,6 @@ buildscript {
9
9
  }
10
10
  }
11
11
 
12
- task prepareKotlinBuildScriptModel {
13
- // This task is run during Gradle Sync in Android Studio.
14
- }
15
-
16
12
  def reactNativeArchitectures() {
17
13
  def value = project.getProperties().get("reactNativeArchitectures")
18
14
  return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
@@ -180,12 +176,3 @@ dependencies {
180
176
  implementation "com.facebook.react:hermes-android" // version substituted by RNGP
181
177
  implementation project(":react-native-worklets")
182
178
  }
183
-
184
- // This fixes linking errors due to undefined symbols from libworklets.so.
185
- // During Gradle Sync, Android Gradle Plugin runs Prefab and treats worklets
186
- // like a header-only library. During build, config files are not regenerated
187
- // because the cache key does not change and AGP thinks that they are up-to-date.
188
- afterEvaluate {
189
- prepareKotlinBuildScriptModel.dependsOn(":react-native-worklets:prefabDebugPackage")
190
- prepareKotlinBuildScriptModel.dependsOn(":react-native-worklets:prefabReleasePackage")
191
- }
@@ -92,11 +92,17 @@
92
92
  }
93
93
 
94
94
  // This method is added as a patch in the New Expensify app.
95
- // See https://github.com/Expensify/App/blob/fd4b9adc22144cb99db1a5634f8828a13fa8c374/patches/react-native%2B0.77.1%2B011%2BAdd-onPaste-to-TextInput.patch#L239
95
+ // See https://github.com/Expensify/App/blob/9a0afa06d2c35d6ef1928d944cf7d28c17dd2bb4/patches/react-native/react-native%2B0.81.4%2B011%2BAdd-onPaste-to-TextInput.patch
96
96
  - (void)textInputDidPaste:(NSString *)type withData:(NSString *)data
97
97
  {
98
98
  void (*func)(id, SEL, NSString*, NSString*) = (void (*)(id, SEL, NSString*, NSString*))objc_msgSend;
99
99
  func(_originalTextInputDelegate, @selector(textInputDidPaste:withData:), type, data);
100
100
  }
101
101
 
102
+
103
+ - (void)textInputDidPaste:(NSArray<NSDictionary<NSString *, NSString *> *> *)items
104
+ {
105
+ void (*func)(id, SEL, NSArray<NSDictionary<NSString *, NSString *> *> *) = (void (*)(id, SEL, NSArray<NSDictionary<NSString *, NSString *> *> *))objc_msgSend;
106
+ func(_originalTextInputDelegate, @selector(textInputDidPaste:), items);
107
+ }
102
108
  @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expensify/react-native-live-markdown",
3
- "version": "0.1.322",
3
+ "version": "0.1.324",
4
4
  "description": "Drop-in replacement for React Native's TextInput component with Markdown formatting.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",