From 8fe2c0f2dc10edeea810c0c36051f7609a21df26 Mon Sep 17 00:00:00 2001 From: pandeymangg Date: Wed, 27 May 2026 12:48:29 +0530 Subject: [PATCH 1/3] bumps sdk version for major release --- FormbricksSDK.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FormbricksSDK.podspec b/FormbricksSDK.podspec index 362fb52..d56c2f0 100644 --- a/FormbricksSDK.podspec +++ b/FormbricksSDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "FormbricksSDK" - s.version = "1.2.0" + s.version = "2.0.0" s.summary = "iOS SDK for Formbricks" s.homepage = "https://github.com/formbricks/ios" s.license = { :type => "MIT", :file => "LICENSE" } From 89b324afaaf602b0e1374262bf256cedda3ca4d6 Mon Sep 17 00:00:00 2001 From: pandeymangg Date: Wed, 27 May 2026 12:55:00 +0530 Subject: [PATCH 2/3] updates readme --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4c21840..ebda323 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The iOS SDK for Formbricks 1. In Xcode choose **File → Add Packages…** 2. Enter your repo URL (e.g. `https://github.com/formbricks/ios.git`) -3. Choose version rule (e.g. "Up to Next Major" starting at `1.0.0`). +3. Choose version rule (e.g. "Up to Next Major" starting at `2.0.0`). 4. Import in your code: ```swift import FormbricksSDK @@ -23,7 +23,7 @@ The iOS SDK for Formbricks use_frameworks! :linkage => :static target 'YourTargetName' do - pod 'FormbricksSDK', '1.0.0 (or the latest version)' + pod 'FormbricksSDK', '2.0.0 (or the latest version)' end ``` @@ -41,11 +41,20 @@ import FormbricksSDK // 1. Build your config (you can also inject userId + attributes here) let config = FormbricksConfig.Builder( appUrl: "https://your‑app.bricks.com", - environmentId: "YOUR_ENV_ID" + workspaceId: "YOUR_WORKSPACE_ID" ) .setLogLevel(.debug) .build() +// Note: `environmentId` is still supported as a deprecated alias for +// `workspaceId` and will be removed in a future major release. +// Existing integrations using `environmentId` continue to work: +// +// FormbricksConfig.Builder( +// appUrl: "https://your‑app.bricks.com", +// environmentId: "YOUR_ENV_ID" // deprecated, use workspaceId +// ) + // 2. Initialize the SDK (once per launch) Formbricks.setup(with: config) From e125420f671f8075fa3ec7e38a9458e2ed2b8071 Mon Sep 17 00:00:00 2001 From: pandeymangg Date: Wed, 27 May 2026 13:00:03 +0530 Subject: [PATCH 3/3] reamde --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index ebda323..73ed602 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ let config = FormbricksConfig.Builder( .build() // Note: `environmentId` is still supported as a deprecated alias for -// `workspaceId` and will be removed in a future major release. +// `workspaceId` and will be removed in a future release. // Existing integrations using `environmentId` continue to work: // // FormbricksConfig.Builder( @@ -82,7 +82,3 @@ Formbricks.cleanup(waitForOperations: true) { print("SDK torn down") } ``` - -``` - -```