Skip to content

Commit 2957d04

Browse files
nielniel
authored andcommitted
feat: update SDK versions and rewrite example app with comprehensive test suite
Updated native SDK dependencies: - iOS: VerisoulSDK v0.4.57 → v0.4.63-beta.3 - Android: verisoul:android v0.4.59-beta → v0.4.60-beta.0 Completely reimplemented example app to match React Native SDK test suite: - Created test_harness.dart with comprehensive testing functionality - Repeat Test: Sequential or parallel session ID requests with configurable reinit - Chaos Test: Concurrent workers with random delays to stress-test SDK - Results tracking with success/failure counts and latency metrics - Built results_view.dart with detailed test analytics - Success rate percentage with color-coded indicators - Latency statistics (average, min, max) - Beautiful Material Design UI matching React Native version - Redesigned main.dart with modern test suite interface - Clean, intuitive UI with emoji icons - Configurable test parameters (rounds, reinit interval, parallel mode) - Real-time test execution with loading indicators - Modal results presentation - Added http dependency for API authentication calls The example app now provides a robust testing environment for validating SDK session management, reinitialize behavior, and concurrent request handling across both iOS and Android platforms.
1 parent 9dd0d97 commit 2957d04

File tree

7 files changed

+886
-266
lines changed

7 files changed

+886
-266
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ android {
6060
dependencies {
6161
testImplementation("org.jetbrains.kotlin:kotlin-test")
6262
testImplementation("org.mockito:mockito-core:5.0.0")
63-
api "ai.verisoul:android:0.4.59-beta"
63+
api "ai.verisoul:android:0.4.60-beta.0"
6464

6565
}
6666

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
9705A1C41CF9048500538489 /* Embed Frameworks */,
200200
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
201201
CACCEC083B6F283F0A76CE42 /* [CP] Embed Pods Frameworks */,
202+
A7BF0B1C6382F21ABE0DCD55 /* [CP] Copy Pods Resources */,
202203
);
203204
buildRules = (
204205
);
@@ -323,6 +324,23 @@
323324
shellPath = /bin/sh;
324325
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
325326
};
327+
A7BF0B1C6382F21ABE0DCD55 /* [CP] Copy Pods Resources */ = {
328+
isa = PBXShellScriptBuildPhase;
329+
buildActionMask = 2147483647;
330+
files = (
331+
);
332+
inputFileListPaths = (
333+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
334+
);
335+
name = "[CP] Copy Pods Resources";
336+
outputFileListPaths = (
337+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
338+
);
339+
runOnlyForDeploymentPostprocessing = 0;
340+
shellPath = /bin/sh;
341+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
342+
showEnvVarsInLog = 0;
343+
};
326344
A86B955CFF950780FDA0CA4B /* [CP] Check Pods Manifest.lock */ = {
327345
isa = PBXShellScriptBuildPhase;
328346
buildActionMask = 2147483647;

0 commit comments

Comments
 (0)