expo-invoke 3.0.3 → 3.0.4
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.
|
@@ -120,7 +120,7 @@ const createIndexSwift = (widgets, targetPath) => {
|
|
|
120
120
|
const numberOfBundles = Math.ceil(numberOfWidgets / 4);
|
|
121
121
|
let output = `import WidgetKit
|
|
122
122
|
import SwiftUI
|
|
123
|
-
import ExpoInvoke
|
|
123
|
+
internal import ExpoInvoke
|
|
124
124
|
`;
|
|
125
125
|
if (numberOfWidgets > 0) {
|
|
126
126
|
for (let i = 0; i < numberOfBundles; i++) {
|
|
@@ -184,7 +184,7 @@ const widgetSwift = (widget) => {
|
|
|
184
184
|
if (!configuration)
|
|
185
185
|
return `import WidgetKit
|
|
186
186
|
import SwiftUI
|
|
187
|
-
import ExpoInvoke
|
|
187
|
+
internal import ExpoInvoke
|
|
188
188
|
|
|
189
189
|
struct ${widget.name}: Widget {
|
|
190
190
|
let name: String = "${widget.name}"
|
|
@@ -201,7 +201,7 @@ struct ${widget.name}: Widget {
|
|
|
201
201
|
return `import WidgetKit
|
|
202
202
|
import SwiftUI
|
|
203
203
|
import AppIntents
|
|
204
|
-
import ExpoInvoke
|
|
204
|
+
internal import ExpoInvoke
|
|
205
205
|
|
|
206
206
|
// AppIntent
|
|
207
207
|
struct ${widget.name}ConfigurationAppIntent: WidgetConfigurationIntent {
|
|
@@ -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', '3.0.
|
|
65
|
+
exports.default = (0, config_plugins_1.createRunOncePlugin)(withInvoke, 'expo-invoke', '3.0.4');
|
|
66
66
|
//# sourceMappingURL=withInvoke.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-invoke",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
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",
|