Discussions
NextJS app fails on sprig-browser init
Hey, is sprig SDK compatible with Next applications?
We get _ReferenceError: window is not defined_ on app launch at:
next/.yarn/cache/@sprig-technologies-sprig-browser-npm-2.30.4-53b9aab37b-54d4c937fb.zip/node_modules/@sprig-technologies/sprig-browser/dist/metricsReporter-ChJRb1ed.js
Posted by Max Kushenr 29 days ago
Is Replay working on the Sprig development environment?
I created a survey and turned on one toggle for "AddReplay," but it seems it is not working. I can see the survey, but when I checked the responses, no recordings were attached to it.
Posted by Niloufar Vafaei 2 months ago
Is Sprig Replays really available to all users? (Free tier)
Because I can't select a Delivery Platform when trying to set one up. Instead there is an Upgrade tag with a tooltip saying to "Upgrade to run standalone replays..." <https://docs.sprig.com/changelog/sprig-replays-is-now-available-to-all-users>
Posted by Ed Nepomuceno 2 months ago
React native new arch issue with method overload
I'm getting this
```
E | ReactNativeJS ▶︎ Error: Exception in HostObject::get for prop 'UserLeapBindings': com.facebook.react.internal.turbomodule.core.TurboModuleInteropUtils$ParsingException: Unable to parse @ReactMethod annotations from native module: UserLeapBindings. Details: Module exports two methods to JavaScript with the same name: "configure
```
I don't see where I could submit a PR to fix it so here's a patch package for it
```
diff --git a/node_modules/react-native-userleap/android/src/main/java/com/userleap/reactnative/UserLeapModule.java b/node_modules/react-native-userleap/android/src/main/java/com/userleap/reactnative/UserLeapModule.java
index 06c35af..21bbc4a 100644
--- a/node_modules/react-native-userleap/android/src/main/java/com/userleap/reactnative/UserLeapModule.java
+++ b/node_modules/react-native-userleap/android/src/main/java/com/userleap/reactnative/UserLeapModule.java
@@ -51,14 +51,13 @@ public class UserLeapModule extends ReactContextBaseJavaModule {
return visitorIdentifierObject == null ? "" : visitorIdentifierObject;
}
- @ReactMethod
- public void configure(String environment) {
- UserLeap.INSTANCE.configure(reactContext, environment);
- }
-
@ReactMethod
public void configure(String environment, ReadableMap configuration) {
- UserLeap.INSTANCE.configure(reactContext, environment, stringifyMap(configuration));
+ if (configuration == null) {
+ UserLeap.INSTANCE.configure(reactContext, environment);
+ } else {
+ UserLeap.INSTANCE.configure(reactContext, environment, stringifyMap(configuration));
+ }
}
@ReactMethod
```
<br />
I did debug the runtime and despite having only a call for the configure(env) signature, it was always called for the two args signature, and the weird part is that the `configuration` was never null... dunno, but this seems to solve for me
Posted by Gabriel Rohden 3 months ago
Does Spring work in i frames
Does Spring work in i frames
Posted by Barbara Quinn 3 months ago
Sprig stopped working after update
After the update I'm getting:
```
Module not found: Error: Can't resolve '@sprig-technologies/sprig-browser'
```
How should I import Sprig while still using cjs?
Posted by Ralf 3 months ago
How does the new "Feedback" study work with other active studies?
If someone chooses to answer your continuous feedback study by clicking the button, are they now exempt from other active studies you might push to them based on your quarantine rules? Or does the feedback study not impact the other studies quarantine and sampling outcomes?
Posted by Swati Sehgal 3 months ago
Is Sprig compatible with PWAs built on Ionic framework?
Is Sprig compatible with PWAs built on Ionic framework?
Posted by David Meier 4 months ago
Replays
Hello. I am looking for a software that can transcribe and create highlights/tags for video interviews. I like the replays feature and was wondering if this can also be used for video interviews?
Posted by Bianca 5 months ago
Which UpChunk package should we use?
Hi, I installed Sprig JavaScript SDK using yarn command from here:
<https://docs.sprig.com/docs/web-javascript#install-with-npmyarn>
usually all the required dependencies are picked up by Yarn,
but looks like I am getting this error message in Chrome Dev console:
```
[Sprig] - recording functionality not configured due to missing UpChunk dependency
```
there are 6 'upchunk' related packages available:
<https://www.npmjs.com/search?q=upchunk>
which one should we use?
Thank you!
Posted by Michael 6 months ago