expo-invoke 2.8.6 → 3.0.0
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.
|
@@ -62,5 +62,5 @@ const withInvoke = (config, options) => {
|
|
|
62
62
|
});
|
|
63
63
|
return config;
|
|
64
64
|
};
|
|
65
|
-
exports.default = (0, config_plugins_1.createRunOncePlugin)(withInvoke, 'expo-invoke', '
|
|
65
|
+
exports.default = (0, config_plugins_1.createRunOncePlugin)(withInvoke, 'expo-invoke', '3.0.0');
|
|
66
66
|
//# sourceMappingURL=withInvoke.js.map
|
|
@@ -270,7 +270,7 @@ public class ExpoInvokeModule: Module {
|
|
|
270
270
|
public static func writePendingIntent(
|
|
271
271
|
intentId: String,
|
|
272
272
|
source: String = "siri",
|
|
273
|
-
parameters: [String: Any] = [],
|
|
273
|
+
parameters: [String: Any] = [:],
|
|
274
274
|
spokenResponse: String? = nil
|
|
275
275
|
) {
|
|
276
276
|
var payload: [String: Any] = [
|
|
@@ -21,13 +21,6 @@ public struct SpotlightManager {
|
|
|
21
21
|
attrs.thumbnailURL = url
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
// Store intent info in userInfo for retrieval on tap
|
|
25
|
-
let userInfo: [String: Any] = [
|
|
26
|
-
"intentId": item["intentId"] as? String ?? "",
|
|
27
|
-
"intentParameters": item["intentParameters"] ?? [:],
|
|
28
|
-
]
|
|
29
|
-
attrs.userInfo = userInfo as NSDictionary
|
|
30
|
-
|
|
31
24
|
return CSSearchableItem(
|
|
32
25
|
uniqueIdentifier: id,
|
|
33
26
|
domainIdentifier: Bundle.main.bundleIdentifier,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-invoke",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "The complete native-surface-to-JS bridge for Expo. One intent config → Siri, Google Assistant, home screen widgets, Dynamic Island, app icon menus, notification actions, NFC, QR, deep links and more — all through a single useInvoke() hook.",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"module": "build/src/index.js",
|