yaver-feedback-react-native 0.7.15 → 0.7.16
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/ios/YaverHotReload.swift +7 -1
- package/package.json +1 -1
package/ios/YaverHotReload.swift
CHANGED
|
@@ -19,7 +19,13 @@ class YaverHotReload: NSObject {
|
|
|
19
19
|
static let bundleFile = "main.jsbundle"
|
|
20
20
|
static let reloadNotification = Notification.Name("YaverHotReloadBundle")
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
// `requiresMainQueueSetup` is an RCTBridgeModule protocol method,
|
|
23
|
+
// not an NSObject method — so it must not be marked `override`.
|
|
24
|
+
// Modern React Native discovers it via the Objective-C runtime
|
|
25
|
+
// (the Swift-generated ObjC interface plus the .m file's
|
|
26
|
+
// RCT_EXPORT_MODULE macro). Marking it `override` errors with
|
|
27
|
+
// "does not override any method from its superclass" on Swift 5+.
|
|
28
|
+
@objc static func requiresMainQueueSetup() -> Bool { return true }
|
|
23
29
|
|
|
24
30
|
/// Download a Hermes bundle from the agent and trigger a bridge reload.
|
|
25
31
|
@objc func loadBundle(_ urlString: String,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yaver-feedback-react-native",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.16",
|
|
4
4
|
"description": "Visual feedback SDK for Yaver — bug reports, screen recording, voice annotations, and local-first developer workflows",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|