@fountispanel/connect-react-native 1.2.0 → 1.4.1
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/CHANGELOG.md +20 -0
- package/README.md +5 -1
- package/android/build.gradle +3 -3
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine/engine.html +11 -11
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine/i18n/ar.json +16 -19
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine/i18n/en.json +17 -20
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine/i18n/kmr.json +19 -22
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine/i18n/ku.json +19 -22
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/FountisConnect +0 -0
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Info.plist +2 -2
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Engine/engine.html +11 -11
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Engine/i18n/ar.json +16 -19
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Engine/i18n/en.json +17 -20
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Engine/i18n/kmr.json +19 -22
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Engine/i18n/ku.json +19 -22
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/FountisConnect +0 -0
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Info.plist +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.4.1
|
|
4
|
+
|
|
5
|
+
- Android: the back button closes the language menu (or answers the "Leave?" card) before it closes the study.
|
|
6
|
+
|
|
7
|
+
## 1.4.0
|
|
8
|
+
|
|
9
|
+
- Picks up the native 1.4.0 changes: no reward or credit shown in studies, one intro screen, an in-study language menu, per-question timing, piping of earlier answers, and the optional "Get the FOUNTIS app" card (off unless FOUNTIS turns it on for your app).
|
|
10
|
+
- Requires `@fountispanel/connect` ^1.4.0 (peer dependency).
|
|
11
|
+
- No public API changes: this is a drop-in update.
|
|
12
|
+
|
|
13
|
+
## 1.3.0
|
|
14
|
+
|
|
15
|
+
- New look: the partner's brand leads. No FOUNTIS logo or colours on any survey screen; every screen ends with a small "Powered by Fountis Connect · Privacy" line. The consent screen still names Fountis Research as the company that runs the study.
|
|
16
|
+
- Per-app appearance: staff set brand colour, name, logo, corners and light or dark for each app in the FOUNTIS console. Apps with nothing set get the default look (black on off-white). Nothing to change in your app; the native SDKs read it from the server.
|
|
17
|
+
- Web builds accept `appearance` through the web SDK's `start({ appearance })` override.
|
|
18
|
+
- Vazirmatn is used for Kurdish and Arabic text.
|
|
19
|
+
- The Kurdish age question (18+) now shows Western digits.
|
|
20
|
+
- Requires `@fountispanel/connect` ^1.3.0 (peer dependency).
|
|
21
|
+
- No breaking changes.
|
|
22
|
+
|
|
3
23
|
## 1.2.0
|
|
4
24
|
|
|
5
25
|
- New API address: `https://api.fountis.org/connect/v1`. If you pass `apiBase` to `start()` (or `apiBase` in the config plugin), remove it or change it to this address.
|
package/README.md
CHANGED
|
@@ -8,6 +8,10 @@ It needs native code, so use an **Expo development build** (or a bare React Nati
|
|
|
8
8
|
|
|
9
9
|
Minimums: iOS 15.1, and on Android 6.0 (API 23) with Android System WebView 88 or later. On an older WebView `show()` returns `noFill`.
|
|
10
10
|
|
|
11
|
+
## Appearance
|
|
12
|
+
|
|
13
|
+
The study uses your brand (colour, name, logo, corners, light or dark), which FOUNTIS sets for your app in the console.
|
|
14
|
+
|
|
11
15
|
## Install
|
|
12
16
|
|
|
13
17
|
```sh
|
|
@@ -77,7 +81,7 @@ Notes:
|
|
|
77
81
|
|
|
78
82
|
- The token function runs in JavaScript. A background check that wakes the app without JavaScript running gets no answer
|
|
79
83
|
and does nothing; checks work while the app is open or recently used, and the study also appears on app open.
|
|
80
|
-
- **Guests:** when the token function returns `null` and FOUNTIS has switched guests on for your app (adult-only apps only), the SDK offers the
|
|
84
|
+
- **Guests:** when the token function returns `null` and FOUNTIS has switched guests on for your app (adult-only apps only), the SDK offers the studies marked open to guests, after an 18+ confirmation. There is nothing to call; an app without accounts can pass `setUserToken(() => null)`. Guests never see a reward. If your token request fails, throw instead of returning `null`, so a signed-in person is not shown guest studies.
|
|
81
85
|
- **Android guest device check:** when FOUNTIS asks for it, an Android guest's device is checked with Google Play Integrity before the guest session starts. Link the FOUNTIS Google Cloud project to your app in Play Console (App integrity, Play Integrity API); FOUNTIS gives you the project number. Nothing to call, and signed-in users are not checked. See the Android SDK README.
|
|
82
86
|
- **Guest attestation (iOS):** if FOUNTIS asks for device attestation on your guests, add the App Attest capability to the iOS app (entitlement `com.apple.developer.devicecheck.appattest-environment` = `production`; in Expo set it under `ios.entitlements`). There is nothing to call.
|
|
83
87
|
- On the web, `enableNotifications()` turns on the in-page invitation, and `handlePush` always resolves `false`.
|
package/android/build.gradle
CHANGED
|
@@ -4,7 +4,7 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'org.fountis'
|
|
7
|
-
version = '1.
|
|
7
|
+
version = '1.4.1'
|
|
8
8
|
|
|
9
9
|
// Two ways to get the FOUNTIS Android SDK into the app:
|
|
10
10
|
//
|
|
@@ -22,7 +22,7 @@ android {
|
|
|
22
22
|
namespace(inRepo ? 'org.fountis.connect' : 'org.fountis.connect.rn')
|
|
23
23
|
defaultConfig {
|
|
24
24
|
versionCode 1
|
|
25
|
-
versionName '1.
|
|
25
|
+
versionName '1.4.1'
|
|
26
26
|
}
|
|
27
27
|
if (inRepo) {
|
|
28
28
|
def sdkMain = file('../../android/connect/src/main')
|
|
@@ -50,6 +50,6 @@ dependencies {
|
|
|
50
50
|
implementation 'com.google.android.play:integrity:1.6.0'
|
|
51
51
|
} else {
|
|
52
52
|
// The SDK, with its own dependencies, manifest and resources.
|
|
53
|
-
implementation 'org.fountis:connect:1.
|
|
53
|
+
implementation 'org.fountis:connect:1.4.1'
|
|
54
54
|
}
|
|
55
55
|
}
|