Skip to content

Commit 367db37

Browse files
authored
chore: bumps sdk version for major release (#53)
* bumps sdk version for major release * updates readme
1 parent a24ed3f commit 367db37

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repositories {
1313
}
1414

1515
dependencies {
16-
implementation("com.formbricks:android:1.0.0") // replace with latest version
16+
implementation("com.formbricks:android:2.0.0") // replace with latest version
1717
}
1818
```
1919

@@ -33,12 +33,22 @@ android {
3333
// 1. Initialize the SDK
3434
val config = FormbricksConfig.Builder(
3535
"https://your-formbricks-server.com",
36-
"YOUR_ENVIRONMENT_ID"
36+
"YOUR_WORKSPACE_ID"
3737
)
3838
.setLoggingEnabled(true)
3939
.setFragmentManager(supportFragmentManager)
4040
.build()
4141

42+
// Note: `environmentId` is deprecated and will be removed in a future version.
43+
// Existing integrations using the legacy entry point still work:
44+
//
45+
// FormbricksConfig.Builder.withEnvironmentId(
46+
// "https://your-formbricks-server.com",
47+
// "YOUR_ENVIRONMENT_ID"
48+
// )
49+
//
50+
// Migrate to `workspaceId` as soon as possible.
51+
4252
// 2. Setup Formbricks
4353
Formbricks.setup(this, config)
4454

android/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
id("org.sonarqube") version "4.4.1.3373"
1212
}
1313

14-
version = "1.2.0"
14+
version = "2.0.0"
1515
val groupId = "com.formbricks"
1616
val artifactId = "android"
1717

0 commit comments

Comments
 (0)