File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ repositories {
1313}
1414
1515dependencies {
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
3434val 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
4353Formbricks .setup(this , config)
4454
Original file line number Diff line number Diff 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"
1515val groupId = " com.formbricks"
1616val artifactId = " android"
1717
You can’t perform that action at this time.
0 commit comments